[LEDE-DEV] [PATCH] ar71xx/ath79: mark soft_config as writeable in mach-rb941.c

hacks at slashdirt.org hacks at slashdirt.org
Tue Jan 17 16:24:00 PST 2017


From: Thibaut VARENE <hacks at slashdirt.org>

This is necessary for rbcfg to work.

Signed-off-by: Thibaut VARENE <hacks at slashdirt.org>
---
 target/linux/ar71xx/files/arch/mips/ath79/mach-rb941.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb941.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb941.c
index 5a8c7c0..5da950b 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb941.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb941.c
@@ -99,7 +99,6 @@ static struct mtd_partition rb941_spi_partitions[] = {
             .name = "soft_config",
             .offset = RB_SOFT_CFG_OFFSET,
             .size = RB_SOFT_CFG_SIZE,
-            .mask_flags = MTD_WRITEABLE,
     }, {
             .name = "rootfs",
             .offset = RB_ROOTFS_OFFSET,
-- 
2.1.4




More information about the Lede-dev mailing list