diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-11-07 12:59:03 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-11-07 12:59:03 +0000 |
commit | 9e10ecd5d2b822398c4d94fc7029f1f7c5e4eea4 (patch) | |
tree | 70f799dd218ae9285a463d56cf0b1fdc2c974a6f | |
parent | 02ab96f016235eb7befc8973709c852a551c3ba5 (diff) | |
download | master-187ad058-9e10ecd5d2b822398c4d94fc7029f1f7c5e4eea4.tar.gz master-187ad058-9e10ecd5d2b822398c4d94fc7029f1f7c5e4eea4.tar.bz2 master-187ad058-9e10ecd5d2b822398c4d94fc7029f1f7c5e4eea4.zip |
ar71xx: fix WHR-HP-G300N MTD partitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28800 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/mach-whr-hp-g300n.c | 3 |
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 b29bf71bb7..a0f78b6f6c 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, }, { |