aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9557_engenius_enstationac-v1.dts
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-12-20 01:03:36 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-12-27 20:33:45 +0100
commit1fb40a72da115073b55ed1b92b443c1b80794c44 (patch)
tree1e34c5061b7b0c0a287c42ef2c13bbbc0c7225a8 /target/linux/ath79/dts/qca9557_engenius_enstationac-v1.dts
parentccf65613daf155c78b38081dc3b8b5ca22a6f9ed (diff)
downloadupstream-1fb40a72da115073b55ed1b92b443c1b80794c44.tar.gz
upstream-1fb40a72da115073b55ed1b92b443c1b80794c44.tar.bz2
upstream-1fb40a72da115073b55ed1b92b443c1b80794c44.zip
treewide: use more descriptive names for concatenated partitions
A few devices in ath79 and ramips use mtd-concat to concatenate individual partitions into a bigger "firmware" or "ubi" partition. However, the original partitions are still present and visible, and one can write to them directly although this might break the actual virtual, concatenated partition. As we cannot do much about the former, let's at least choose more descriptive names than just "firmwareX" in order to indicate the concatenation to the user. He might be less tempted into overwriting a "fwconcat1" than a "firmware1", which might be perceived as an alternate firmware for dual boot etc. This applies the new naming consistently for all relevant devices, i.e. fwconcatX for virtual "firmware" members and ubiconcatX for "ubi" members. While at it, use DT labels and label property consistently, and also use consistent zero-based indexing. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ath79/dts/qca9557_engenius_enstationac-v1.dts')
-rw-r--r--target/linux/ath79/dts/qca9557_engenius_enstationac-v1.dts10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/ath79/dts/qca9557_engenius_enstationac-v1.dts b/target/linux/ath79/dts/qca9557_engenius_enstationac-v1.dts
index 952747ade0..f9801693c5 100644
--- a/target/linux/ath79/dts/qca9557_engenius_enstationac-v1.dts
+++ b/target/linux/ath79/dts/qca9557_engenius_enstationac-v1.dts
@@ -62,7 +62,7 @@
virtual_flash {
compatible = "mtd-concat";
- devices = <&firmware1 &firmware2>;
+ devices = <&fwconcat0 &fwconcat1>;
partitions {
compatible = "fixed-partitions";
@@ -118,8 +118,8 @@
read-only;
};
- firmware2: partition@b0000 {
- label = "firmware2";
+ fwconcat1: partition@b0000 {
+ label = "fwconcat1";
reg = <0x0b0000 0x170000>;
};
@@ -129,8 +129,8 @@
read-only;
};
- firmware1: partition@230000 {
- label = "firmware1";
+ fwconcat0: partition@230000 {
+ label = "fwconcat0";
reg = <0x230000 0xb40000>;
};