]> git.dujemihanovic.xyz Git - u-boot.git/commit
ti: common: am6: Add support for setting MAC addresses
authorAndreas Dannenberg <dannenberg@ti.com>
Tue, 4 Jun 2019 23:08:25 +0000 (18:08 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 17 Jul 2019 15:13:18 +0000 (11:13 -0400)
commit183fa08ae529a3a228ed62fd099c7d1e9e76c8b0
tree388df7c39b34851617448d87e3809f166e40a80c
parent361a53308ddfa7401223a523a8c38fc1dcc75481
ti: common: am6: Add support for setting MAC addresses

The AM654x EVM based on the TI K3 family of SoCs has an updated board
detection EEPROM structure that contains a TLV record of dedicated MAC
addresses rather than a range of MAC addresses as it was used on earlier
platforms such as DRA7. Add a basic function that allows us setting up
Ethernet MAC addresses into the U-Boot environment based on the MAC
address record contained in the common TI EEPROM structure.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
board/ti/common/board_detect.c
board/ti/common/board_detect.h