diff mbox series

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

Message ID 87o9hrvk7h.fsf@husum.klickitat.com
State Changes Requested
Delegated to: John Crispin
Headers show
Series [LEDE-DEV] ath79: u-boot partitions should be read-only in dts | expand

Commit Message

Russell Senior May 7, 2018, 10:22 a.m. UTC
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@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 mbox series

Patch

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@0 {
 			label = "u-boot";
 			reg = <0x000000 0x040000>;
+			read-only;
 		};
 
 		partition@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@0 {
 			label = "u-boot";
 			reg = <0x000000 0x040000>;
+			read-only;
 		};
 
 		partition@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@0 {
 			label = "u-boot";
 			reg = <0x000000 0x020000>;
+			read-only;
 		};
 
 		partition@1 {