kernel-5.4: bump to 5.4.102 and refresh patches
[openwrt/staging/hauke.git] / target / linux / ramips / patches-5.4 / 302-spi-nor-add-gd25q512.patch
index 0a3a65d70a76e02309d2d7d4d61a99d103f12eb9..3fbb0bf3234bd715ac5429520d10f4c36118824d 100644 (file)
@@ -1,8 +1,8 @@
 --- a/drivers/mtd/spi-nor/spi-nor.c
 +++ b/drivers/mtd/spi-nor/spi-nor.c
-@@ -1066,6 +1066,11 @@ static const struct flash_info spi_nor_i
-                       SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
-                       SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
+@@ -2305,6 +2305,11 @@ static const struct flash_info spi_nor_i
+                       SPI_NOR_4B_OPCODES | SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
+                       .fixups = &gd25q256_fixups,
        },
 +      {
 +              "gd25q512", INFO(0xc84020, 0, 64 * 1024, 1024,