treewide: use more descriptive names for concatenated partitions
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 20 Dec 2020 00:03:36 +0000 (01:03 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 27 Dec 2020 19:33:45 +0000 (20:33 +0100)
commit1fb40a72da115073b55ed1b92b443c1b80794c44
tree1e34c5061b7b0c0a287c42ef2c13bbbc0c7225a8
parentccf65613daf155c78b38081dc3b8b5ca22a6f9ed
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>
13 files changed:
target/linux/ath79/dts/ar7240_engenius_enh202-v1.dts
target/linux/ath79/dts/ar7242_engenius_eap350-v1.dts
target/linux/ath79/dts/ar7242_engenius_ecb350-v1.dts
target/linux/ath79/dts/ar9341_engenius_eap300-v2.dts
target/linux/ath79/dts/ar9341_engenius_ens202ext-v1.dts
target/linux/ath79/dts/ar9341_pisen_wmb001n.dts
target/linux/ath79/dts/ar9344_enterasys_ws-ap3705i.dts
target/linux/ath79/dts/ar9344_netgear_wndr.dtsi
target/linux/ath79/dts/qca9550_airtight_c-75.dts
target/linux/ath79/dts/qca9557_engenius_enstationac-v1.dts
target/linux/ath79/dts/qca9558_belkin_f9x-v2.dtsi
target/linux/ramips/dts/mt7620n_sunvalley_filehub.dtsi
target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts