ath79: Consistently label art partition with lower case
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 5 Jun 2019 13:59:30 +0000 (15:59 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Mon, 10 Jun 2019 09:25:41 +0000 (11:25 +0200)
This patch harmonizes the label and alias for art partitions
across ath79. Since lower case seems to be more frequent, use that
consistently.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
19 files changed:
target/linux/ath79/base-files/etc/board.d/02_network
target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
target/linux/ath79/dts/ar7242_buffalo_bhr-4grv.dts
target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi
target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts
target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts
target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts
target/linux/ath79/dts/ar9342_iodata_etg3-r.dts
target/linux/ath79/dts/qca9533_tplink_cpe210.dtsi
target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts
target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts
target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts
target/linux/ath79/dts/qca9563_elecom_wrc-1750ghbk2-i.dts
target/linux/ath79/dts/qca9563_elecom_wrc-300ghbk2-i.dts
target/linux/ath79/dts/qca9563_elecom_wrc-ghbk2-i.dtsi
target/linux/ath79/dts/qca9563_tplink_archer-c2-v3.dts
target/linux/ath79/dts/qca9563_tplink_tl-wr1043n-v5.dts
target/linux/ath79/dts/qca9563_tplink_tl-wr1043nd-v4.dts

index a2cd0ac3a6bba546caef9810df6a090b4c47fc52..99e7825c67f0c8fd46385d1143db29b08e769a6a 100755 (executable)
@@ -285,7 +285,7 @@ ath79_setup_macs()
                ;;
        elecom,wrc-1750ghbk2-i|\
        elecom,wrc-300ghbk2-i)
-               wan_mac=$(macaddr_add "$(mtd_get_mac_binary ART 4098)" -2)
+               wan_mac=$(macaddr_add "$(mtd_get_mac_binary art 4098)" -2)
                ;;
        engenius,ecb1750)
                lan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr)
index ce4df2521b317ea51549697ed866cbb95fb79c82..e6b6d2f2308cf5fcaa1bad1b45c64216b4281cb9 100644 (file)
@@ -144,7 +144,7 @@ case "$FIRMWARE" in
                ath9k_eeprom_extract "art" 4096 3768
                ;;
        buffalo,wzr-hp-g450h)
-               ath9k_eeprom_extract "ART" 4096 1088
+               ath9k_eeprom_extract "art" 4096 1088
                ;;
        dlink,dir-825-c1|\
        dlink,dir-835-a1)
index 607c04a75f537930634dc2d3976ad027213b9bbd..c3bdc9486620cb5fa5d019c0602d3e39e5419005 100644 (file)
@@ -100,7 +100,7 @@ case "$FIRMWARE" in
                ath10kcal_patch_mac $(mtd_get_mac_ascii devdata "wlan5mac")
                ;;
        elecom,wrc-1750ghbk2-i)
-               ath10kcal_extract "ART" 20480 2116
+               ath10kcal_extract "art" 20480 2116
                ;;
        engenius,ecb1750)
                ath10kcal_extract "art" 20480 2116
@@ -134,19 +134,16 @@ case "$FIRMWARE" in
                ath10kcal_patch_mac $(mtd_get_mac_binary art 12)
                ;;
        openmesh,om5p-ac-v2)
-               ath10kcal_extract "ART" 20480 2116
+               ath10kcal_extract "art" 20480 2116
                ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16)
                ;;
        tplink,archer-a7-v5|\
+       tplink,archer-c2-v3|\
        tplink,archer-c7-v4|\
        tplink,archer-c7-v5)
                ath10kcal_extract "art" 20480 2116
                ath10kcal_patch_mac $(macaddr_add $(mtd_get_mac_binary info 8) -1)
                ;;
-       tplink,archer-c2-v3)
-               ath10kcal_extract "ART" 20480 2116
-               ath10kcal_patch_mac $(macaddr_add $(mtd_get_mac_binary info 8) -1)
-               ;;
        tplink,archer-c5-v1|\
        tplink,archer-c7-v2)
                ath10kcal_extract "art" 20480 2116
index d2f40e55655a65c7551bbabf3620900404546949..ac3230f37853964959389cd4d0bb85ee3f4cacb2 100644 (file)
@@ -9,7 +9,7 @@
 };
 
 &eth0 {
-       mtd-mac-address = <&ART 0x0>;
+       mtd-mac-address = <&art 0x0>;
 };
 
 &sec_vpn {
index 5165efa859668bfa82df2c18d39c89f9c0830ef2..70ce41b84de3ebea68162a02f2090d62def290f8 100644 (file)
@@ -89,9 +89,9 @@
                                label = "u-boot-env";
                        };
 
-                       ART: partition@50000 {
+                       art: partition@50000 {
                                reg = <0x50000 0x10000>;
-                               label = "ART";
+                               label = "art";
                                read-only;
                        };
 
index ea30a4d0d355fd12a802c9c86cff79a8e63a1259..e76f677fd5d48d265d9483ffffd045f2f9455c68 100644 (file)
@@ -57,7 +57,7 @@
 };
 
 &eth0 {
-       mtd-mac-address = <&ART 0x1002>;
+       mtd-mac-address = <&art 0x1002>;
 };
 
 &sec_vpn {
@@ -70,7 +70,7 @@
        ath9k: wifi@0,0 {
                compatible = "pci168c,0030";
                reg = <0x0000 0 0 0 0>;
-               mtd-mac-address = <&ART 0x1002>;
+               mtd-mac-address = <&art 0x1002>;
                qca,no-eeprom;
                #gpio-cells = <2>;
                gpio-controller;
index 53df36760fa3d19ab852d6bc6f5f1be9872d5904..76f6e8023666704b779afecdb5276255d4f88515 100644 (file)
                        };
 
                        art: partition@3 {
-                               label = "ART";
+                               label = "art";
                                reg = <0xff0000 0x010000>;
                                read-only;
                        };
index 43bec35fa2860fe4d52880ad24ff7c56f5060a0a..d0e0169f1b9cd15ab2f4a5e3a11dbae8c2cad9cf 100644 (file)
@@ -94,7 +94,7 @@
                        };
 
                        art: partition@3 {
-                               label = "ART";
+                               label = "art";
                                reg = <0xff0000 0x010000>;
                                read-only;
                        };
index 9fce43fd4ffc3627e6e53f1ca91fe231269d0a94..bd2489aa2820c8fad0a98d799d173aff8086f3bb 100644 (file)
@@ -93,7 +93,7 @@
                        };
 
                        partition@7f0000 {
-                               label = "ART";
+                               label = "art";
                                reg = <0x7f0000 0x010000>;
                                read-only;
                        };
index aad8428b4adac69516eaab5fe65ec7d17bf124e7..f86ff30fc7b09d99b55a07dcf0b08f0c9640278a 100644 (file)
                                read-only;
                        };
 
-                       ART: partition@7f0000 {
-                               label = "ART";
+                       art: partition@7f0000 {
+                               label = "art";
                                reg = <0x7f0000 0x10000>;
                                read-only;
                        };
 
 &wmac {
        status = "okay";
-       mtd-cal-data = <&ART 0x1000>;
+       mtd-cal-data = <&art 0x1000>;
        mtd-mac-address = <&info 0x8>;
 };
index 64be0744b2830eda0ed5d73eb7d9c3b24f82539e..c173add2521c5655dd0cfdf674ecfb38beb5c522 100644 (file)
                        };
 
                        art: partition@ff0000 {
-                               label = "ART";
+                               label = "art";
                                reg = <0xff0000 0x010000>;
                                read-only;
                        };
index 9e2f67977aacea4974c735389228b110d14ecd9e..3b7e3aceda659d273afe04e84849bab47c8478de 100644 (file)
                                reg = <0xfd0000 0x20000>;
                        };
 
-                       ART: partition@ff0000 {
-                               label = "ART";
+                       art: partition@ff0000 {
+                               label = "art";
                                reg = <0xff0000 0x010000>;
                                read-only;
                        };
        status = "okay";
 
        pll-data = <0xa6000000 0x00000101 0x00001616>;
-       mtd-mac-address = <&ART 0x0>;
+       mtd-mac-address = <&art 0x0>;
 
        phy-handle = <&phy0>;
 
 
        phy-mode = "sgmii";
        pll-data = <0x03000101 0x00000101 0x00001616>;
-       mtd-mac-address = <&ART 0x6>;
+       mtd-mac-address = <&art 0x6>;
 
        fixed-link {
                speed = <1000>;
 &wmac {
        status = "okay";
 
-       mtd-cal-data = <&ART 0x1000>;
-       mtd-mac-address = <&ART 0xc>;
+       mtd-cal-data = <&art 0x1000>;
+       mtd-mac-address = <&art 0xc>;
 };
index 1e3cf40f71131726e74ba55fba762ea4826a5885..b6dc43fbfca5269a273434a163228077854c5ff3 100644 (file)
                        };
 
                        partition@3 {
-                               label = "ART";
+                               label = "art";
                                reg = <0xff0000 0x010000>;
                                read-only;
                        };
index 287dee6bb1e61312561841e45fcf936e748d0346..978fa6af57c955545600b34e6f10404236577d43 100644 (file)
@@ -44,8 +44,8 @@
                read-only;
        };
 
-       ART: partition@ff0000 {
-               label = "ART";
+       art: partition@ff0000 {
+               label = "art";
                reg = <0xff0000 0x010000>;
                read-only;
        };
index c823f4a34281e5c694d1415177596479c09405c3..778e0fd52ec19b9bf690b38696d0b4ad45d1a933 100644 (file)
@@ -38,8 +38,8 @@
                read-only;
        };
 
-       ART: partition@7f0000 {
-               label = "ART";
+       art: partition@7f0000 {
+               label = "art";
                reg = <0x7f0000 0x010000>;
                read-only;
        };
index 8d5bbe180c338cac661800a983083f640d766db7..2f5c2c4aac8a6a36102bd3d5781993ca831e415d 100644 (file)
 
        pll-data = <0x03000101 0x00000101 0x00001919>;
 
-       mtd-mac-address = <&ART 0x1002>;
+       mtd-mac-address = <&art 0x1002>;
        mtd-mac-address-increment = <(-1)>;
        phy-mode = "sgmii";
        phy-handle = <&phy0>;
 
 &wmac {
        status = "okay";
-       mtd-cal-data = <&ART 0x1000>;
+       mtd-cal-data = <&art 0x1000>;
 };
index 17f07baffdf80ed9ecbc4e56ec5bdc9919491525..782a581acaf69a65861feef8ec7b1d34ecddbb39 100644 (file)
                        };
 
                        art: partition@7f0000 {
-                               label = "ART";
+                               label = "art";
                                reg = <0x7f0000 0x010000>;
                                read-only;
                        };
index 9702da4a34535d57e76228a8d1dae971972d8eaf..b4c7e9b45f66267a29536a6ddec89464d959ddc3 100644 (file)
@@ -65,7 +65,7 @@
                        };
 
                        art: partition@ff0000 {
-                               label = "ART";
+                               label = "art";
                                reg = <0xff0000 0x010000>;
                                read-only;
                        };
index ffe5e0a603e60c691afd3ec3ddffaec840f5f7bf..07a7409886d4c69356bf59bf1ffc4d00cdee6973 100644 (file)
@@ -70,7 +70,7 @@
                        };
 
                        art: partition@ff0000 {
-                               label = "ART";
+                               label = "art";
                                reg = <0xff0000 0x010000>;
                                read-only;
                        };