[LEDE-DEV] [PATCH] ramips: let the "reserved" MTD partition be RO
Enrico Mioso
mrkiko.rs at gmail.com
Tue May 30 02:04:06 PDT 2017
The "reserved" partition should probably be read-only, just in case. Even
not knowing it's content, other devices have marked it as such, so it
seems a good idea to do so also for this device.
Signed-off-by: Enrico Mioso <mrkiko.rs at gmail.com>
CC: Mathias Kresin <dev at kresin.me>
CC: Hanqing Wong <hquu at outlook.com>
---
target/linux/ramips/dts/R6220.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/linux/ramips/dts/R6220.dts b/target/linux/ramips/dts/R6220.dts
index 72c6fc7d5a..eb9f3c4a25 100644
--- a/target/linux/ramips/dts/R6220.dts
+++ b/target/linux/ramips/dts/R6220.dts
@@ -117,6 +117,7 @@
partition at 4200000 {
label = "reserved";
reg = <0x4200000 0x3c00000>;
+ read-only;
};
};
--
2.13.0
More information about the Lede-dev
mailing list