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 | 5aa2ccc214f793afd72e912f45be677acb18610a (patch) | |
tree | 820244a3d9e9c8a0506521e6d4c0f0d0da99e54e /target | |
parent | c8ca86ff6e9b9e5747a1034ee41497affa941783 (diff) | |
download | upstream-5aa2ccc214f793afd72e912f45be677acb18610a.tar.gz upstream-5aa2ccc214f793afd72e912f45be677acb18610a.tar.bz2 upstream-5aa2ccc214f793afd72e912f45be677acb18610a.zip |
ramips: rt305x: make config and factory partitions read-only on the ATP-52B
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28002 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-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 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, |