kernel: add support for limiting 4K erase sector support based on flash chip size
[openwrt/openwrt.git] / target / linux / layerscape / armv8_64b / config-4.9
index ea4dba6..4432919 100644 (file)
@@ -824,6 +824,7 @@ CONFIG_MTD_NAND_ECC=y
 CONFIG_MTD_NAND_FSL_IFC=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_SST25L=y
 CONFIG_MUTEX_SPIN_ON_OWNER=y
 CONFIG_MV_XOR_V2=y