[source] ar71xx: mark soft_config mtd part as writeable for RB-941-2nD
LEDE Commits
lede-commits at lists.infradead.org
Wed Jan 18 03:30:20 PST 2017
blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/29d0ac35bdc9cee710b7af174c01a1238f191d13
commit 29d0ac35bdc9cee710b7af174c01a1238f191d13
Author: Thibaut VARENE <hacks at slashdirt.org>
AuthorDate: Wed Jan 18 10:44:19 2017 +0100
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 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,
More information about the lede-commits
mailing list