aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorThibaut VARENE <hacks@slashdirt.org>2017-01-18 10:44:19 +0100
committerJohn Crispin <john@phrozen.org>2017-01-18 12:05:43 +0100
commit29d0ac35bdc9cee710b7af174c01a1238f191d13 (patch)
tree34483968deffb9e674744804b0598aa557cc1531 /target
parent71a39b869019c97f48bc85d9a8fabceead217d07 (diff)
downloadupstream-29d0ac35bdc9cee710b7af174c01a1238f191d13.tar.gz
upstream-29d0ac35bdc9cee710b7af174c01a1238f191d13.tar.bz2
upstream-29d0ac35bdc9cee710b7af174c01a1238f191d13.zip
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>
Diffstat (limited to 'target')
-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 5a8c7c0251..5da950bb88 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,