ath79: ap5030dn: use nvmem

Userspace handling is deprecated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2024-06-22 11:43:03 -07:00
parent c655deec99
commit 71d8c5f657
2 changed files with 1 additions and 3 deletions

View File

@ -15,6 +15,7 @@
};
aliases {
label-mac-device = &eth0;
led-boot = &led_function_red;
led-failsafe = &led_function_red;
led-running = &led_function_green;

View File

@ -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)