ar71xx: fix WHR-HP-G300N MTD partitions
authorGabor Juhos <juhosg@openwrt.org>
Mon, 7 Nov 2011 12:59:03 +0000 (12:59 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 7 Nov 2011 12:59:03 +0000 (12:59 +0000)
SVN-Revision: 28800

target/linux/ar71xx/files/arch/mips/ar71xx/mach-whr-hp-g300n.c

index b29bf71bb7c03b2ae84ceb1d3ecc80368ca15504..a0f78b6f6c0bc8fcedfa2ff575e6173dc81c16d8 100644 (file)
@@ -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,
        }, {