mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
ath79: remove further redundant mtd-mac-address for wmac
For several devices, wmac MAC address is set from art 0x1002 explicitly by using mtd-mac-address although mtd-cal-data is pulled from art 0x1000. With the MAC address in 0x1002, the driver should automatically use it when reading caldata from 0x1000. Thus, remove the redundant mtd-mac-address for those devices. This patch addresses the cases where the calibration data partition is not labelled art, having been overlooked in the first patch. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
dc90caf45a
commit
999504ff65
@ -74,5 +74,4 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
mtd-cal-data = <&eeprom 0x1000>;
|
mtd-cal-data = <&eeprom 0x1000>;
|
||||||
mtd-mac-address = <&eeprom 0x1002>;
|
|
||||||
};
|
};
|
||||||
|
@ -89,5 +89,4 @@
|
|||||||
|
|
||||||
qca,disable-5ghz;
|
qca,disable-5ghz;
|
||||||
mtd-cal-data = <&eeprom 0x1000>;
|
mtd-cal-data = <&eeprom 0x1000>;
|
||||||
mtd-mac-address = <&eeprom 0x1002>;
|
|
||||||
};
|
};
|
||||||
|
@ -116,7 +116,6 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
mtd-cal-data = <&eeprom 0x1000>;
|
mtd-cal-data = <&eeprom 0x1000>;
|
||||||
mtd-mac-address = <&eeprom 0x1002>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
ð0 {
|
ð0 {
|
||||||
|
@ -95,5 +95,4 @@
|
|||||||
&wmac {
|
&wmac {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
mtd-cal-data = <&eeprom 0x1000>;
|
mtd-cal-data = <&eeprom 0x1000>;
|
||||||
mtd-mac-address = <&eeprom 0x1002>;
|
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user