diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-08-15 18:55:48 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-08-15 18:55:48 +0000 |
commit | 35ecf12059e508117350fd88fa49458ab1f330d8 (patch) | |
tree | 40ff419ff35b3834ffea1966a722a58c67ff226b | |
parent | 75e2360ab3d186f0f40caaf43e6dd7362bb4e63b (diff) | |
download | mtk-20170518-35ecf12059e508117350fd88fa49458ab1f330d8.zip mtk-20170518-35ecf12059e508117350fd88fa49458ab1f330d8.tar.gz mtk-20170518-35ecf12059e508117350fd88fa49458ab1f330d8.tar.bz2 |
ramips: rt305x: make config and factory partitions read-only on the ATP-52B
SVN-Revision: 28002
-rw-r--r-- | target/linux/ramips/files/arch/mips/ralink/rt305x/mach-argus-atp52b.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 bee06fd..b53432c 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, |