ath79: Consistently label art partition with lower case

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>
This commit is contained in:
Adrian Schmutzler 2019-06-05 15:59:30 +02:00 committed by Christian Lamparter
parent 4d807ad2d9
commit fcb920ffe7
19 changed files with 33 additions and 36 deletions

View File

@ -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)

View 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)

View 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

View File

@ -9,7 +9,7 @@
};
&eth0 {
mtd-mac-address = <&ART 0x0>;
mtd-mac-address = <&art 0x0>;
};
&sec_vpn {

View File

@ -89,9 +89,9 @@
label = "u-boot-env";
};
ART: partition@50000 {
art: partition@50000 {
reg = <0x50000 0x10000>;
label = "ART";
label = "art";
read-only;
};

View 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;

View File

@ -111,7 +111,7 @@
};
art: partition@3 {
label = "ART";
label = "art";
reg = <0xff0000 0x010000>;
read-only;
};

View File

@ -94,7 +94,7 @@
};
art: partition@3 {
label = "ART";
label = "art";
reg = <0xff0000 0x010000>;
read-only;
};

View File

@ -93,7 +93,7 @@
};
partition@7f0000 {
label = "ART";
label = "art";
reg = <0x7f0000 0x010000>;
read-only;
};

View File

@ -109,8 +109,8 @@
read-only;
};
ART: partition@7f0000 {
label = "ART";
art: partition@7f0000 {
label = "art";
reg = <0x7f0000 0x10000>;
read-only;
};
@ -130,6 +130,6 @@
&wmac {
status = "okay";
mtd-cal-data = <&ART 0x1000>;
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&info 0x8>;
};

View File

@ -140,7 +140,7 @@
};
art: partition@ff0000 {
label = "ART";
label = "art";
reg = <0xff0000 0x010000>;
read-only;
};

View File

@ -152,8 +152,8 @@
reg = <0xfd0000 0x20000>;
};
ART: partition@ff0000 {
label = "ART";
art: partition@ff0000 {
label = "art";
reg = <0xff0000 0x010000>;
read-only;
};
@ -184,7 +184,7 @@
status = "okay";
pll-data = <0xa6000000 0x00000101 0x00001616>;
mtd-mac-address = <&ART 0x0>;
mtd-mac-address = <&art 0x0>;
phy-handle = <&phy0>;
@ -195,7 +195,7 @@
phy-mode = "sgmii";
pll-data = <0x03000101 0x00000101 0x00001616>;
mtd-mac-address = <&ART 0x6>;
mtd-mac-address = <&art 0x6>;
fixed-link {
speed = <1000>;
@ -206,6 +206,6 @@
&wmac {
status = "okay";
mtd-cal-data = <&ART 0x1000>;
mtd-mac-address = <&ART 0xc>;
mtd-cal-data = <&art 0x1000>;
mtd-mac-address = <&art 0xc>;
};

View File

@ -123,7 +123,7 @@
};
partition@3 {
label = "ART";
label = "art";
reg = <0xff0000 0x010000>;
read-only;
};

View File

@ -44,8 +44,8 @@
read-only;
};
ART: partition@ff0000 {
label = "ART";
art: partition@ff0000 {
label = "art";
reg = <0xff0000 0x010000>;
read-only;
};

View File

@ -38,8 +38,8 @@
read-only;
};
ART: partition@7f0000 {
label = "ART";
art: partition@7f0000 {
label = "art";
reg = <0x7f0000 0x010000>;
read-only;
};

View File

@ -111,7 +111,7 @@
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>;
@ -123,5 +123,5 @@
&wmac {
status = "okay";
mtd-cal-data = <&ART 0x1000>;
mtd-cal-data = <&art 0x1000>;
};

View File

@ -140,7 +140,7 @@
};
art: partition@7f0000 {
label = "ART";
label = "art";
reg = <0x7f0000 0x010000>;
read-only;
};

View File

@ -65,7 +65,7 @@
};
art: partition@ff0000 {
label = "ART";
label = "art";
reg = <0xff0000 0x010000>;
read-only;
};

View File

@ -70,7 +70,7 @@
};
art: partition@ff0000 {
label = "ART";
label = "art";
reg = <0xff0000 0x010000>;
read-only;
};