local-mac-address

2018-05-27 Thread Mark Kettenis
Looks like u-boot was finally fixed and now assigns a local-mac-address property to device nodes even if u-boot itself isn't configured with a network driver. This is helpful since this means we can have a static MAC address even if y-boot doesn't touch the hardware. Diff belo

armv7/sxie/if_dwge: get&set "local-mac-address"

2017-11-29 Thread Artturi Alm
E_INTR_CLEAR); + if (OF_getproplen(node, "local-mac-address") == ETHER_ADDR_LEN) { + OF_getprop(node, "local-mac-address", enaddr, ETHER_ADDR_LEN); + have_mac = 1; + } + /* * If u-boot doesn't set emac, use the Security ID are