Commit 547720fb authored by Adrian Schmutzler's avatar Adrian Schmutzler Committed by John Crispin

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: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
parent b9d58f7e
...@@ -133,7 +133,6 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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>;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment