generic: 5.15: fix broken BoHong bh25q128as patch
[openwrt/staging/blocktrron.git] / target / linux / generic / pending-5.15 / 405-mtd-spi-nor-Add-support-for-BoHong-bh25q128as.patch
index 0e68aa590712bab9c232b86692ab80e8a44d875a..ab3c24ff7f52f19a98d9a2e34ee74957a76622db 100644 (file)
@@ -44,8 +44,8 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
 +
 +static const struct flash_info bohong_parts[] = {
 +      /* BoHong Microelectronics */
-+      { "bh25q128as", INFO(0x684018, 0, 64 * 1024, 256)
-+              NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
++      { "bh25q128as", INFO(0x684018, 0, 64 * 1024, 256,
++                           SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
 +};
 +
 +const struct spi_nor_manufacturer spi_nor_bohong = {