From b7ea14150f767caaf443fdb84f87ddf6e21e0ebe Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 24 Oct 2017 12:33:46 +0200 Subject: [PATCH] ar71xx: re-enable 4k sectors for the mikrotik subtargets On RB91x (and possibly others), there is a small SPI flash to store boot loader and configuration. It needs 4K sectors to be able to write the configuration using rbcfg Signed-off-by: Felix Fietkau --- target/linux/ar71xx/mikrotik/config-default | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ar71xx/mikrotik/config-default b/target/linux/ar71xx/mikrotik/config-default index e333166e931..42f9882bb29 100644 --- a/target/linux/ar71xx/mikrotik/config-default +++ b/target/linux/ar71xx/mikrotik/config-default @@ -231,6 +231,7 @@ CONFIG_MTD_NAND_RB4XX=y CONFIG_MTD_NAND_RB750=y CONFIG_MTD_NAND_RB91X=y # CONFIG_MTD_REDBOOT_PARTS is not set +CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y # CONFIG_MTD_SPLIT_EVA_FW is not set # CONFIG_MTD_SPLIT_TPLINK_FW is not set # CONFIG_MTD_TPLINK_PARTS is not set -- 2.30.2