[source] ar71xx: re-enable 4k sectors for the mikrotik subtargets

LEDE Commits lede-commits at lists.infradead.org
Tue Oct 24 04:24:45 PDT 2017


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/b7ea14150f767caaf443fdb84f87ddf6e21e0ebe

commit b7ea14150f767caaf443fdb84f87ddf6e21e0ebe
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Tue Oct 24 12:33:46 2017 +0200

    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 at nbd.name>
---
 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 e333166..42f9882 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



More information about the lede-commits mailing list