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:
Adrian Schmutzler 2019-10-25 14:06:44 +02:00 committed by John Crispin
parent b9d58f7e06
commit 547720fb48
3 changed files with 1 additions and 4 deletions

View File

@ -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>;
}; };

View File

@ -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>;
}; };
}; };

View File

@ -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>;
}; };