]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
km/common: force set ethaddr after reading IVM
authorHolger Brunck <holger.brunck@keymile.com>
Sun, 5 Jun 2011 22:22:16 +0000 (22:22 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 27 Jul 2011 21:44:11 +0000 (23:44 +0200)
commite8195825716c0ef8cfaea513c8a3d9d3becf7e00
tree7077abd2b2e160eae21fec5d41614cfc5ff24c3e
parentc98d3b4f48adff08d4abfa45fe3e843e35c6e892
km/common: force set ethaddr after reading IVM

The ethaddr is stored inside the inventory eeprom. During
boottime this value was read out and the ethaddr variable was
set. Previously this was only done if it ethaddr == NULL but
this is wrong for our ARM boards. Because ethaddr is at this
stage never NULL for ARM due to the random calculation of a
MAC address in mvgbe.c.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Heiko Schocher <hs@denx.de>
cc: Wolfgang Denk <wd@denx.de>
board/keymile/common/common.c