[openwrt/openwrt] ath79: u-boot partitions should be read-only in dts

LEDE Commits lede-commits at lists.infradead.org
Mon May 7 04:07:06 PDT 2018


blogic pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/4aacd6388aed857ed20afa9943257722a4d24ec4

commit 4aacd6388aed857ed20afa9943257722a4d24ec4
Author: Russell Senior <russell at personaltelco.net>
AuthorDate: Mon May 7 13:06:31 2018 +0200

    ath79: u-boot partitions should be read-only in dts
    
    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 1fa2d82..1cb45e6 100644
--- a/target/linux/ath79/dts/ar7241_ubnt-unifi.dts
+++ b/target/linux/ath79/dts/ar7241_ubnt-unifi.dts
@@ -76,6 +76,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 ac0a79d..bea9adc 100644
--- a/target/linux/ath79/dts/ar7241_ubnt-xm.dtsi
+++ b/target/linux/ath79/dts/ar7241_ubnt-xm.dtsi
@@ -85,6 +85,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 0ad865b..c3efe66 100644
--- a/target/linux/ath79/dts/ar9132_tl_wr1043nd_v1.dts
+++ b/target/linux/ath79/dts/ar9132_tl_wr1043nd_v1.dts
@@ -102,6 +102,7 @@
 			partition at 0 {
 				label = "u-boot";
 				reg = <0x000000 0x020000>;
+				read-only;
 			};
 
 			partition at 1 {



More information about the lede-commits mailing list