projects
/
openwrt
/
staging
/
mkresin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ramips: rt305x: make config and factory partitions read-only on the ATP-52B
[openwrt/staging/mkresin.git]
/
target
/
linux
/
ramips
/
files
/
arch
/
mips
/
ralink
/
rt305x
/
mach-argus-atp52b.c
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 bee06fd5f18148a60d2581eec3eff360d6d15a95..b53432c4cebfb6b8b49f8697b0eb8648e68c19cd 100644
(file)
--- 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,