[source] ramips: let the "reserved" MTD partition be RO for R6220

LEDE Commits lede-commits at lists.infradead.org
Wed May 31 00:55:16 PDT 2017


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/acd8649b18d8946f06b7c5ee863c43db8a65c8d5

commit acd8649b18d8946f06b7c5ee863c43db8a65c8d5
Author: Enrico Mioso <mrkiko.rs at gmail.com>
AuthorDate: Tue May 30 11:04:06 2017 +0200

    ramips: let the "reserved" MTD partition be RO for R6220
    
    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 72c6fc7..eb9f3c4 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;
 	};
 };
 



More information about the lede-commits mailing list