summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-whr-hp-g300n.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-whr-hp-g300n.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-whr-hp-g300n.c
index b29bf71..a0f78b6 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-whr-hp-g300n.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-whr-hp-g300n.c
@@ -49,6 +49,7 @@ static struct mtd_partition whrhpg300n_partitions[] = {
.name = "u-boot-env",
.offset = 0x03e000,
.size = 0x002000,
+ .mask_flags = MTD_WRITEABLE,
}, {
.name = "kernel",
.offset = 0x040000,
@@ -58,7 +59,7 @@ static struct mtd_partition whrhpg300n_partitions[] = {
.offset = 0x120000,
.size = 0x2c0000,
}, {
- .name = "NVRAM",
+ .name = "user_property",
.offset = 0x3e0000,
.size = 0x010000,
}, {