]> git.dujemihanovic.xyz Git - u-boot.git/commit
cm-t54: add EEPROM support and MAC address handling
authorDmitry Lifshitz <lifshitz@compulab.co.il>
Sun, 27 Apr 2014 10:18:46 +0000 (13:18 +0300)
committerTom Rini <trini@ti.com>
Fri, 23 May 2014 23:40:39 +0000 (19:40 -0400)
commita9375f3328135d651d7500df3e4c43432e5db133
treefd9cf808d41d9ce69ce6fd086f6239be40e31a58
parent076446f106d0732f79456485be275ad2109306f4
cm-t54: add EEPROM support and MAC address handling

cm-t54 Eth MAC address is stored in onboard EEPROM.
Add EEPROM support and setup stored Eth MAC address.

If EEPROM does not contain a valid MAC, then generate it from the
processor ID code (reference code is taken from OMAP5 uEvm board file).

Modify Device Tree blob MAC address field with retrieved data.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
board/compulab/cm_t54/cm_t54.c
include/configs/cm_t54.h