[LEDE-DEV] [PATCH] ath79: u-boot partitions should be read-only in dts

Russell Senior russell at personaltelco.net
Mon May 7 03:22:42 PDT 2018


Some of the new ath79 device trees were missing read-only tags on the
u-boot partitions.  This adds the tags where previously missing.


Signed-off-by: Russell Senior <russell at personaltelco.net>
---
 target/linux/ath79/dts/ar7241_ubnt-unifi.dts     | 1 +
 target/linux/ath79/dts/ar7241_ubnt-xm.dtsi       | 1 +
 target/linux/ath79/dts/ar9132_tl_wr1043nd_v1.dts | 1 +
 3 files changed, 3 insertions(+)

diff --git a/target/linux/ath79/dts/ar7241_ubnt-unifi.dts b/target/linux/ath79/dts/ar7241_ubnt-unifi.dts
index aaafb08424..9c8c86cb97 100644
--- a/target/linux/ath79/dts/ar7241_ubnt-unifi.dts
+++ b/target/linux/ath79/dts/ar7241_ubnt-unifi.dts
@@ -71,6 +71,7 @@
 		partition at 0 {
 			label = "u-boot";
 			reg = <0x000000 0x040000>;
+			read-only;
 		};
 
 		partition at 1 {
diff --git a/target/linux/ath79/dts/ar7241_ubnt-xm.dtsi b/target/linux/ath79/dts/ar7241_ubnt-xm.dtsi
index cd7da2089b..983c446783 100644
--- a/target/linux/ath79/dts/ar7241_ubnt-xm.dtsi
+++ b/target/linux/ath79/dts/ar7241_ubnt-xm.dtsi
@@ -80,6 +80,7 @@
 		partition at 0 {
 			label = "u-boot";
 			reg = <0x000000 0x040000>;
+			read-only;
 		};
 
 		partition at 1 {
diff --git a/target/linux/ath79/dts/ar9132_tl_wr1043nd_v1.dts b/target/linux/ath79/dts/ar9132_tl_wr1043nd_v1.dts
index 9589925eb5..42bcc6967e 100644
--- a/target/linux/ath79/dts/ar9132_tl_wr1043nd_v1.dts
+++ b/target/linux/ath79/dts/ar9132_tl_wr1043nd_v1.dts
@@ -97,6 +97,7 @@
 		partition at 0 {
 			label = "u-boot";
 			reg = <0x000000 0x020000>;
+			read-only;
 		};
 
 		partition at 1 {
-- 
2.17.0



-- 
Russell Senior, President
russell at personaltelco.net



More information about the Lede-dev mailing list