diff mbox series

[OpenWrt-Devel,1/6] ramips: remove wan_mac setup for evaluation boards

Message ID 20191208153255.27655-2-freifunk@adrianschmutzler.de
State Accepted
Delegated to: Adrian Schmutzler
Headers show
Series ramips: use flash location for wan_mac in 02_network | expand

Commit Message

Adrian Schmutzler Dec. 8, 2019, 3:32 p.m. UTC
The evaluation boards do not set up a MAC address for eth0
in the first place, so it does not make sense to calculate a WAN
address from the random MAC used there.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
---
 target/linux/ramips/mt7620/base-files/etc/board.d/02_network | 4 ----
 target/linux/ramips/mt7621/base-files/etc/board.d/02_network | 1 -
 target/linux/ramips/mt76x8/base-files/etc/board.d/02_network | 1 -
 3 files changed, 6 deletions(-)
diff mbox series

Patch

diff --git a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
index ef241ff801..900bbc5550 100755
--- a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
@@ -238,10 +238,6 @@  ramips_setup_macs()
 	phicomm,psg1218b|\
 	planex,db-wrt01|\
 	planex,mzk-750dhp|\
-	ralink,mt7620a-evb|\
-	ralink,mt7620a-mt7530-evb|\
-	ralink,mt7620a-mt7610e-evb|\
-	ralink,mt7620a-v22sg-evb|\
 	sanlinking,d240|\
 	tplink,archer-c2-v1|\
 	tplink,archer-c20-v1|\
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
index bb6e41e06f..a39dfb40f3 100755
--- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
@@ -154,7 +154,6 @@  ramips_setup_macs()
 	firefly,firewrt|\
 	gehua,ghl-r-001|\
 	mediatek,ap-mt7621a-v60|\
-	mediatek,mt7621-eval-board|\
 	mikrotik,rb750gr3|\
 	mikrotik,rbm33g|\
 	mqmaker,witi|\
diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
index 87ce447612..f76af66f27 100755
--- a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
@@ -137,7 +137,6 @@  ramips_setup_macs()
 		label_mac=$(mtd_get_mac_binary factory 0x8)
 		;;
 	duzun,dm06|\
-	mediatek,mt7628an-eval-board|\
 	netgear,r6120|\
 	rakwireless,rak633|\
 	tplink,archer-c20-v4|\