mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
ramips: remove redundant mtd-mac-address for WiFi
When caldata locations are defined with mediatek,mtd-eeprom the MAC address is automatically read from offset +4. Thus, specifying that location explicitly is redundant. This patch removes those redundant definitions. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
b9d58f7e06
commit
547720fb48
@ -133,7 +133,6 @@
|
|||||||
|
|
||||||
&wmac {
|
&wmac {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
mtd-mac-address = <&factory 0x4>;
|
|
||||||
mediatek,mtd-eeprom = <&factory 0x0>;
|
mediatek,mtd-eeprom = <&factory 0x0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -196,7 +196,6 @@
|
|||||||
reg = <0x0000 0 0 0 0>;
|
reg = <0x0000 0 0 0 0>;
|
||||||
mediatek,mtd-eeprom = <&factory 0x8000>;
|
mediatek,mtd-eeprom = <&factory 0x8000>;
|
||||||
ieee80211-freq-limit = <5000000 6000000>;
|
ieee80211-freq-limit = <5000000 6000000>;
|
||||||
mtd-mac-address = <&factory 0x8004>;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -64,6 +64,5 @@
|
|||||||
|
|
||||||
&wmac {
|
&wmac {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
ralink,mtd-eeprom = <&factory 0>;
|
ralink,mtd-eeprom = <&factory 0x0>;
|
||||||
mtd-mac-address = <&factory 0x4>;
|
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user