aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-11-04 07:51:34 +0100
committerFelix Fietkau <nbd@nbd.name>2017-11-06 16:38:28 +0100
commitc078386ae3db328a3e659508fddc74c1f099b221 (patch)
treeb5c02e64bfdde8f9cf234a6b7bf1018316acfe37
parentc08293893aadca182b52ef96d3c2b1700282f0f2 (diff)
downloadupstream-c078386ae3db328a3e659508fddc74c1f099b221.tar.gz
upstream-c078386ae3db328a3e659508fddc74c1f099b221.tar.bz2
upstream-c078386ae3db328a3e659508fddc74c1f099b221.zip
ar71xx: only use SPI NOR 4K sectors on smaller flash chips for mikrotik devices
On NOR based Mikrotik devices, 4K sectors significantly slow down firmware flashing and jffs2 usage. On NAND based devices they may be necessary to run rbcfg (the boot loader config is often on SPI NOR). Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--target/linux/ar71xx/mikrotik/config-default1
1 files changed, 0 insertions, 1 deletions
diff --git a/target/linux/ar71xx/mikrotik/config-default b/target/linux/ar71xx/mikrotik/config-default
index 284274e41f..42f9882bb2 100644
--- a/target/linux/ar71xx/mikrotik/config-default
+++ b/target/linux/ar71xx/mikrotik/config-default
@@ -232,7 +232,6 @@ 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_SPI_NOR_USE_4K_SECTORS_LIMIT=16384
# CONFIG_MTD_SPLIT_EVA_FW is not set
# CONFIG_MTD_SPLIT_TPLINK_FW is not set
# CONFIG_MTD_TPLINK_PARTS is not set