]> git.dujemihanovic.xyz Git - u-boot.git/commit
da850evm: read mac address from I2C EEPROM on AM18x EVM
authorHadli, Manjunath <manjunath.hadli@ti.com>
Thu, 9 Feb 2012 20:22:25 +0000 (20:22 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 27 Feb 2012 20:19:24 +0000 (21:19 +0100)
commit206a1038f74cddf71e54c237fee2087d3b26d8e8
tree8f4eccb70012d7e4fa52ad6776eb6f97e467b172
parent38fed6ee95ee5b0dba9f91380267ed998cee2f62
da850evm: read mac address from I2C EEPROM on AM18x EVM

add support to read mac address for AM18x EVM manufactured from
Spectrum digital which have mac address stored in I2C EEPROM manufactured
by WINBOND. This patch reads mac address from I2C EEPROM and sets the
environment variable if not set, If mac address is already present in
environment compare it with the mac address in EEPROM and warn on
mismatch.Introduced a config option CONFIG_MAC_ADDR_IN_EEPROM to where
to look for the mac address.

Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
Cc: Tom Rini <trini@ti.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Wolfgang Denk <wd@denx.de>
board/davinci/da8xxevm/da850evm.c
boards.cfg