board: am335x: Always set eth/eth1addr environment variable
authorRoger Quadros <rogerq@ti.com>
Wed, 24 Aug 2016 12:35:51 +0000 (15:35 +0300)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 13 Oct 2016 17:25:10 +0000 (12:25 -0500)
commitf411b5cca48f0eee9443b85e7b75a46356bd2327
treeec1d41487a09813eb38af65aaec843fb83135f7c
parente607ec993b65462eff960fd5f28016db6b0a61bd
board: am335x: Always set eth/eth1addr environment variable

Ethernet ports might be used in the kernel even if CPSW driver
is disabled at u-boot. So always set ethaddr and eth1addr
environment variable from efuse.

Retain usbnet_devaddr as it is required for SPL USB eth boot.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
board/ti/am335x/board.c