board: ti: am57xx: Set ethernet MAC addresses from EEPROM to env
authorRoger Quadros <rogerq@ti.com>
Fri, 18 Mar 2016 11:18:12 +0000 (13:18 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 27 Mar 2016 13:12:27 +0000 (09:12 -0400)
commit92667e89fc5906531a7a1ff247e1ffec61b55b13
tree7f8ed4dd50565e74595c9faf8a402cd6f6fdfd8c
parent5350bc8f65a96d7f3c2519ae2d76cafea875103a
board: ti: am57xx: Set ethernet MAC addresses from EEPROM to env

The MAC addresses for the PRU Ethernet ports will be available in the
board EEPROM as an address range. Populate those MAC addresses (if valid)
into the u-boot environment so that they can be passed on to the
device tree during fdt_fixup_ethernet().

Signed-off-by: Roger Quadros <rogerq@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
board/ti/am57xx/board.c