mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-18 21:28:02 +00:00
ath79: ap5030dn: use nvmem
Userspace handling is deprecated. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
c655deec99
commit
71d8c5f657
@ -15,6 +15,7 @@
|
||||
};
|
||||
|
||||
aliases {
|
||||
label-mac-device = ð0;
|
||||
led-boot = &led_function_red;
|
||||
led-failsafe = &led_function_red;
|
||||
led-running = &led_function_green;
|
||||
|
@ -718,9 +718,6 @@ ath79_setup_macs()
|
||||
hak5,packet-squirrel)
|
||||
label_mac=$(mtd_get_mac_binary u-boot 0x1fc00)
|
||||
;;
|
||||
huawei,ap5030dn)
|
||||
label_mac=$(mtd_get_mac_binary art 0x2005b)
|
||||
;;
|
||||
iodata,etg3-r)
|
||||
lan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr)
|
||||
wan_mac=$(macaddr_add "$lan_mac" -1)
|
||||
|
Loading…
Reference in New Issue
Block a user