mirror of https://github.com/hak5/openwrt.git
ath79: rename EEPROM to art
This renames all remaining occurrences of "EEPROM" to "art" to further harmonize the partition labelling in ath79. This will help to reduce the amount of user-space code and might be beneficial when code is copy/pasted in the future. Affected are only devices from Ubiquiti, where the XM board is already using "art" in ath79. Acked-by: Piotr Dymacz <pepe2k@gmail.com> Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>master
parent
2fedf023e4
commit
c08ddfce3f
|
@ -26,7 +26,7 @@
|
|||
/* default for ar934x, except for 1000M and 10M */
|
||||
pll-data = <0x06000000 0x00000101 0x00001313>;
|
||||
|
||||
mtd-mac-address = <&eeprom 0x0>;
|
||||
mtd-mac-address = <&art 0x0>;
|
||||
|
||||
phy-mode = "rgmii";
|
||||
phy-handle = <&phy4>;
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
/* default for ar934x, except for 1000M and 10M */
|
||||
pll-data = <0x06000000 0x00000101 0x00001313>;
|
||||
|
||||
mtd-mac-address = <&eeprom 0x0>;
|
||||
mtd-mac-address = <&art 0x0>;
|
||||
|
||||
phy-mode = "rgmii";
|
||||
phy-handle = <&phy4>;
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
/* default for ar934x, except for 1000M and 10M */
|
||||
pll-data = <0x06000000 0x00000101 0x00001313>;
|
||||
|
||||
mtd-mac-address = <&eeprom 0x0>;
|
||||
mtd-mac-address = <&art 0x0>;
|
||||
|
||||
phy-mode = "rgmii";
|
||||
phy-handle = <&phy4>;
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
/* default for ar934x, except for 1000M and 10M */
|
||||
pll-data = <0x06000000 0x00000101 0x00001313>;
|
||||
|
||||
mtd-mac-address = <&eeprom 0x0>;
|
||||
mtd-mac-address = <&art 0x0>;
|
||||
|
||||
phy-mode = "rgmii";
|
||||
phy-handle = <&phy0>;
|
||||
|
@ -73,5 +73,5 @@
|
|||
&wmac {
|
||||
status = "okay";
|
||||
|
||||
mtd-cal-data = <&eeprom 0x1000>;
|
||||
mtd-cal-data = <&art 0x1000>;
|
||||
};
|
||||
|
|
|
@ -75,8 +75,8 @@
|
|||
read-only;
|
||||
};
|
||||
|
||||
eeprom: partition@ff0000 {
|
||||
label = "EEPROM";
|
||||
art: partition@ff0000 {
|
||||
label = "art";
|
||||
reg = <0xff0000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
@ -88,5 +88,5 @@
|
|||
status = "okay";
|
||||
|
||||
qca,disable-5ghz;
|
||||
mtd-cal-data = <&eeprom 0x1000>;
|
||||
mtd-cal-data = <&art 0x1000>;
|
||||
};
|
||||
|
|
|
@ -103,8 +103,8 @@
|
|||
read-only;
|
||||
};
|
||||
|
||||
eeprom: partition@7f0000 {
|
||||
label = "EEPROM";
|
||||
art: partition@7f0000 {
|
||||
label = "art";
|
||||
reg = <0x7f0000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
@ -115,9 +115,9 @@
|
|||
&wmac {
|
||||
status = "okay";
|
||||
|
||||
mtd-cal-data = <&eeprom 0x1000>;
|
||||
mtd-cal-data = <&art 0x1000>;
|
||||
};
|
||||
|
||||
ð0 {
|
||||
mtd-mac-address = <&eeprom 0x0>;
|
||||
mtd-mac-address = <&art 0x0>;
|
||||
};
|
||||
|
|
|
@ -64,8 +64,8 @@
|
|||
read-only;
|
||||
};
|
||||
|
||||
eeprom: partition@ff0000 {
|
||||
label = "EEPROM";
|
||||
art: partition@ff0000 {
|
||||
label = "art";
|
||||
reg = <0xff0000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
@ -79,13 +79,13 @@
|
|||
|
||||
ð0 {
|
||||
status = "okay";
|
||||
mtd-mac-address = <&eeprom 0x0>;
|
||||
mtd-mac-address = <&art 0x0>;
|
||||
phy-handle = <&swphy4>;
|
||||
};
|
||||
|
||||
ð1 {
|
||||
status = "okay";
|
||||
mtd-mac-address = <&eeprom 0x6>;
|
||||
mtd-mac-address = <&art 0x6>;
|
||||
|
||||
gmac-config {
|
||||
device = <&gmac>;
|
||||
|
@ -94,5 +94,5 @@
|
|||
|
||||
&wmac {
|
||||
status = "okay";
|
||||
mtd-cal-data = <&eeprom 0x1000>;
|
||||
mtd-cal-data = <&art 0x1000>;
|
||||
};
|
||||
|
|
|
@ -21,6 +21,6 @@
|
|||
ð0 {
|
||||
status = "okay";
|
||||
|
||||
mtd-mac-address = <&eeprom 0x0>;
|
||||
mtd-mac-address = <&art 0x0>;
|
||||
phy-handle = <&phy4>;
|
||||
};
|
||||
|
|
|
@ -25,6 +25,6 @@
|
|||
ð0 {
|
||||
status = "okay";
|
||||
|
||||
mtd-mac-address = <&eeprom 0x0>;
|
||||
mtd-mac-address = <&art 0x0>;
|
||||
phy-handle = <&phy0>;
|
||||
};
|
||||
|
|
|
@ -104,8 +104,8 @@
|
|||
read-only;
|
||||
};
|
||||
|
||||
eeprom: partition@ff0000 {
|
||||
label = "EEPROM";
|
||||
art: partition@ff0000 {
|
||||
label = "art";
|
||||
reg = <0xff0000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
@ -116,5 +116,5 @@
|
|||
&wmac {
|
||||
status = "okay";
|
||||
|
||||
mtd-cal-data = <&eeprom 0x1000>;
|
||||
mtd-cal-data = <&art 0x1000>;
|
||||
};
|
||||
|
|
|
@ -12,6 +12,15 @@ case "$FIRMWARE" in
|
|||
case $board in
|
||||
comfast,cf-wr650ac-v1|\
|
||||
comfast,cf-wr650ac-v2|\
|
||||
ubnt,unifiac-lite|\
|
||||
ubnt,unifiac-lr|\
|
||||
ubnt,unifiac-mesh|\
|
||||
ubnt,unifiac-mesh-pro|\
|
||||
ubnt,lap-120|\
|
||||
ubnt,nanobeam-ac|\
|
||||
ubnt,nanostation-ac|\
|
||||
ubnt,nanostation-ac-loco|\
|
||||
ubnt,unifiac-pro|\
|
||||
yuncore,a770)
|
||||
caldata_extract "art" 0x5000 0x844
|
||||
;;
|
||||
|
@ -101,17 +110,6 @@ case "$FIRMWARE" in
|
|||
caldata_extract "art" 0x5000 0x844
|
||||
ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary info 0x8) +1)
|
||||
;;
|
||||
ubnt,unifiac-lite|\
|
||||
ubnt,unifiac-lr|\
|
||||
ubnt,unifiac-mesh|\
|
||||
ubnt,unifiac-mesh-pro|\
|
||||
ubnt,lap-120|\
|
||||
ubnt,nanobeam-ac|\
|
||||
ubnt,nanostation-ac|\
|
||||
ubnt,nanostation-ac-loco|\
|
||||
ubnt,unifiac-pro)
|
||||
caldata_extract "EEPROM" 0x5000 0x844
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
"ath10k/pre-cal-pci-0000:00:00.0.bin")
|
||||
|
|
Loading…
Reference in New Issue