kernel: add support for limiting 4K erase sector support based on flash chip size
[openwrt/openwrt.git] / target / linux / pistachio / config-4.9
index 121f6a8..a417a6b 100644 (file)
@@ -216,6 +216,7 @@ CONFIG_MTD_SPI_NAND=y
 CONFIG_MTD_SPI_NAND_DEVICES=y
 CONFIG_MTD_SPI_NOR=y
 CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y
+CONFIG_MTD_SPI_NOR_USE_4K_SECTORS_LIMIT=16384
 CONFIG_MTD_UBI=y
 CONFIG_MTD_UBI_BEB_LIMIT=20
 CONFIG_MTD_UBI_BLOCK=y