summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Senior <russell@personaltelco.net>2018-05-07 13:06:31 +0200
committerJohn Crispin <john@phrozen.org>2018-05-07 13:07:00 +0200
commit4aacd6388aed857ed20afa9943257722a4d24ec4 (patch)
tree76de3213932a6a26222094ce5c3a446d432633fb
parent4edd4cb2b3a55962a6d3fa4611c7f2bc393eb902 (diff)
downloadmtk-20170518-4aacd6388aed857ed20afa9943257722a4d24ec4.zip
mtk-20170518-4aacd6388aed857ed20afa9943257722a4d24ec4.tar.gz
mtk-20170518-4aacd6388aed857ed20afa9943257722a4d24ec4.tar.bz2
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@personaltelco.net>
-rw-r--r--target/linux/ath79/dts/ar7241_ubnt-unifi.dts1
-rw-r--r--target/linux/ath79/dts/ar7241_ubnt-xm.dtsi1
-rw-r--r--target/linux/ath79/dts/ar9132_tl_wr1043nd_v1.dts1
3 files changed, 3 insertions, 0 deletions
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@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 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@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 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@0 {
label = "u-boot";
reg = <0x000000 0x020000>;
+ read-only;
};
partition@1 {