aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-10-24 12:33:46 +0200
committerFelix Fietkau <nbd@nbd.name>2017-10-24 13:24:05 +0200
commitb7ea14150f767caaf443fdb84f87ddf6e21e0ebe (patch)
treea61311acffd80a5e01989124eb0d56d5b2674d19
parent7c09fa4a7492ca436f2c94bd9a465b7c5bbeed6f (diff)
downloadupstream-b7ea14150f767caaf443fdb84f87ddf6e21e0ebe.tar.gz
upstream-b7ea14150f767caaf443fdb84f87ddf6e21e0ebe.tar.bz2
upstream-b7ea14150f767caaf443fdb84f87ddf6e21e0ebe.zip
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 <nbd@nbd.name>
-rw-r--r--target/linux/ar71xx/mikrotik/config-default1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ar71xx/mikrotik/config-default b/target/linux/ar71xx/mikrotik/config-default
index e333166e93..42f9882bb2 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