[source] ar71xx: only use SPI NOR 4K sectors on smaller flash chips for mikrotik devices
LEDE Commits
lede-commits at lists.infradead.org
Mon Nov 6 07:38:40 PST 2017
nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/c078386ae3db328a3e659508fddc74c1f099b221
commit c078386ae3db328a3e659508fddc74c1f099b221
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Sat Nov 4 07:51:34 2017 +0100
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 at nbd.name>
---
target/linux/ar71xx/mikrotik/config-default | 1 -
1 file changed, 1 deletion(-)
diff --git a/target/linux/ar71xx/mikrotik/config-default b/target/linux/ar71xx/mikrotik/config-default
index 284274e..42f9882 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
More information about the lede-commits
mailing list