summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibaut VARENE <hacks@slashdirt.org>2017-01-18 10:44:19 +0100
committerFelix Fietkau <nbd@nbd.name>2017-02-01 14:59:29 +0100
commit2cf64afd4e052c7ef5681e31178da34919bef5a0 (patch)
tree42b3ea0ef1ed317fff207100365f13818d984e68
parent51b6dd1aed9c6847b0aaa5acc2cb833ff5f0c120 (diff)
downloadmtk-20170518-2cf64afd4e052c7ef5681e31178da34919bef5a0.zip
mtk-20170518-2cf64afd4e052c7ef5681e31178da34919bef5a0.tar.gz
mtk-20170518-2cf64afd4e052c7ef5681e31178da34919bef5a0.tar.bz2
ar71xx: mark soft_config mtd part as writeable for RB-941-2nD
The soft_config partition must be writeable for rbcfg to be able to enact changes to the routerboot configuration. The read-only flag was a mistake in the initial patch. Removing it brings mach-rb941.c in line with all other RB platforms. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-rb941.c1
1 files changed, 0 insertions, 1 deletions
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,