ramips: rt305x: make config and factory partitions read-only on the ATP-52B
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 15 Aug 2011 18:55:48 +0000 (18:55 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 15 Aug 2011 18:55:48 +0000 (18:55 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28002 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ramips/files/arch/mips/ralink/rt305x/mach-argus-atp52b.c

index bee06fd..b53432c 100644 (file)
@@ -72,10 +72,12 @@ static struct mtd_partition argus_atp52b_partitions[] = {
                .name   = "config",
                .offset = 0x030000,
                .size   = 0x010000,
+               .mask_flags = MTD_WRITEABLE,
        }, {
                .name   = "factory",
                .offset = 0x040000,
                .size   = 0x010000,
+               .mask_flags = MTD_WRITEABLE,
        }, {
                .name   = "kernel",
                .offset = 0x050000,