]> git.sur5r.net Git - u-boot/commit
net: mvneta: support setting hardware address
authorMatt Pelland <mpelland@starry.com>
Tue, 27 Mar 2018 17:18:25 +0000 (13:18 -0400)
committerJoe Hershberger <joe.hershberger@ni.com>
Fri, 13 Apr 2018 20:47:31 +0000 (15:47 -0500)
commit0a85f024c5e84ccaf3b908f0b1d381f5ecf89602
treef9ed8fc560dc75de2907adc39f680ca123df3042
parent93cb6142c1d349492d23bad3951b5a8f59eaafed
net: mvneta: support setting hardware address

mvneta already supports setting the MAC address but this was only done
internally when some other part of U-Boot tries to actually use the
interface. This commit exposes this functionality to the ethernet core
code so that the MAC addresses of all interfaces are configured
correctly even if they are not used before loading Linux.

Signed-off-by: Matt Pelland <mpelland@starry.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/mvneta.c