kernel: bump 5.4 to 5.4.34
[openwrt/openwrt.git] / target / linux / ramips / patches-5.4 / 302-spi-nor-add-gd25q512.patch
1 --- a/drivers/mtd/spi-nor/spi-nor.c
2 +++ b/drivers/mtd/spi-nor/spi-nor.c
3 @@ -2296,6 +2296,11 @@ static const struct flash_info spi_nor_i
4 SPI_NOR_4B_OPCODES | SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
5 .fixups = &gd25q256_fixups,
6 },
7 + {
8 + "gd25q512", INFO(0xc84020, 0, 64 * 1024, 1024,
9 + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
10 + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB | SPI_NOR_4B_OPCODES)
11 + },
12
13 /* Intel/Numonyx -- xxxs33b */
14 { "160s33b", INFO(0x898911, 0, 64 * 1024, 32, 0) },