ipq40xx: 5.4: enable 4K sector support
authorRobert Marko <robimarko@gmail.com>
Fri, 29 May 2020 09:37:01 +0000 (11:37 +0200)
committerAlexander Couzens <lynxis@fe80.eu>
Fri, 18 Sep 2020 23:33:06 +0000 (01:33 +0200)
This enables the 4K sector support needed for the MikroTik sysfs soft configuration driver to work properly.
Without it trying to write would destroy the soft configuration.

Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ipq40xx/config-5.4

index 8fc9d0203432624321c587bc56faba8df97fbd7f..b677e25770f840e4d4003c0245f6ca09810d88c4 100644 (file)
@@ -337,6 +337,7 @@ CONFIG_MTD_RAW_NAND=y
 CONFIG_MTD_ROUTERBOOT_PARTS=y
 CONFIG_MTD_SPI_NAND=y
 CONFIG_MTD_SPI_NOR=y
+CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y
 CONFIG_MTD_SPLIT_FIRMWARE=y
 CONFIG_MTD_SPLIT_FIT_FW=y
 CONFIG_MTD_SPLIT_MINOR_FW=y