From b9ea1a33aad0766b5779f3eded5a6cb2d9c239f2 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Mon, 15 Aug 2011 18:55:48 +0000 Subject: [PATCH] ramips: rt305x: make config and factory partitions read-only on the ATP-52B SVN-Revision: 28002 --- .../ramips/files/arch/mips/ralink/rt305x/mach-argus-atp52b.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-argus-atp52b.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-argus-atp52b.c index bee06fd5f1..b53432c4ce 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-argus-atp52b.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-argus-atp52b.c @@ -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, -- 2.30.2