]> git.sur5r.net Git - u-boot/commit
net: write enetaddr down to hardware on env_callback
authorMarek Vasut <marex@denx.de>
Sat, 12 Nov 2016 15:28:40 +0000 (16:28 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 13 Nov 2016 20:54:38 +0000 (15:54 -0500)
commit73d570a76ddee0a18445cd53c9473a445d2f08a4
tree9e327781b012bbd4f2b65c9eaa68ddbce85e34ad
parent948b8bbd5fc4722ec10e0ffde29d31d982f6a6e4
net: write enetaddr down to hardware on env_callback

If mac-address is changed using "setenv ethaddr ...." command the new
mac-adress also must be written into the responsible ethernet driver.
This fixes the legacy ethernet handling.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Hannes Schmelzer <oe5hpm@oevsv.at>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Hannes Schmelzer <oe5hpm@oevsv.at>
net/eth_legacy.c