From a594a5a33067b1d44d77777d78e63e6b08d485ab Mon Sep 17 00:00:00 2001 From: Martin Schiller Date: Tue, 15 Sep 2020 08:24:22 +0200 Subject: lantiq: use uniform "u-boot-env" mtd label This is the most popular choice in the linux kernel tree. Within OpenWrt, this change will establish consistency with ath79 and ramips targets. Signed-off-by: Martin Schiller [extend commit message, include netgear_dm200, update base-files] Signed-off-by: Adrian Schmutzler --- target/linux/lantiq/xrx200/base-files/etc/board.d/02_network | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'target/linux/lantiq/xrx200/base-files') diff --git a/target/linux/lantiq/xrx200/base-files/etc/board.d/02_network b/target/linux/lantiq/xrx200/base-files/etc/board.d/02_network index 5331288253..07bcdf9f84 100755 --- a/target/linux/lantiq/xrx200/base-files/etc/board.d/02_network +++ b/target/linux/lantiq/xrx200/base-files/etc/board.d/02_network @@ -101,8 +101,8 @@ lantiq_setup_macs() case "$board" in alphanetworks,asl56026) - lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr) - wan_mac=$(mtd_get_mac_ascii uboot_env wanmac) + lan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr) + wan_mac=$(mtd_get_mac_ascii u-boot-env wanmac) ;; arcadyan,arv7519rw22) wan_mac=$(macaddr_add "$(mtd_get_mac_binary boardconfig 0x16)" 1) @@ -112,7 +112,7 @@ lantiq_setup_macs() lantiq,easy80920-nor|\ zyxel,p-2812hnu-f1|\ zyxel,p-2812hnu-f3) - lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr) + lan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr) wan_mac=$(macaddr_add "$lan_mac" 1) ;; arcadyan,vgv7510kw22-brn|\ @@ -145,7 +145,7 @@ lantiq_setup_macs() wan_mac=$(macaddr_add "$lan_mac" 1) ;; buffalo,wbmr-300hpd) - lan_mac=$(mtd_get_mac_ascii ubootconfig ethaddr) + lan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr) wan_mac="$lan_mac" ;; netgear,dm200) -- cgit v1.2.3