ar71xx: wpj344: set MAC on wan
authorLeon M. George <leon@georgemail.eu>
Fri, 9 Jun 2017 16:30:47 +0000 (18:30 +0200)
committerPiotr Dymacz <pepe2k@gmail.com>
Thu, 29 Jun 2017 08:37:36 +0000 (10:37 +0200)
Signed-off-by: Leon M. George <leon@georgemail.eu>
target/linux/ar71xx/base-files/etc/board.d/02_network

index 9ff6dddd32119a2c3caf55c01c601153c32cb1d7..709030ceb3547514252c96d1f94fe3c88949aa2d 100755 (executable)
@@ -532,6 +532,9 @@ ar71xx_setup_macs()
        mynet-n750)
                wan_mac=$(mtd_get_mac_ascii devdata "wanmac")
                ;;
+       wpj344)
+               wan_mac=$(mtd_get_mac_binary u-boot 0x2e018)
+               ;;
        esac
 
        [ -n "$lan_mac" ] && ucidef_set_interface_macaddr "lan" $lan_mac