u-boot/board/davinci/common
David Brownell 641e0925e4 DaVinci Ethernet cleanup
Chips without the EMAC controller won't need the utilities
it uses to read an Ethernet address from EEPROM; so don't
include them needlessly.

Use is_valid_ether() to validate the address from EEPROM.
All-zero addresses aren't the only invalid addresses.
A fully erased EEPROM returns all-ones, also invalid...

Switch those Ethernet utilities to use "%pM" for printing
MAC addresses; and not say ROM when they mean EEPROM.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Ben Warren <biggerbadderben@gmail.com>
2009-06-12 20:39:47 +02:00
..
Makefile ARM DaVinci: Move common functions to board/davinci/common 2008-08-30 23:18:54 +02:00
misc.c DaVinci Ethernet cleanup 2009-06-12 20:39:47 +02:00
misc.h ARM DaVinci: Move common functions to board/davinci/common 2008-08-30 23:18:54 +02:00
psc.c ARM DaVinci: Add common peripherals and modules enable functions. 2009-02-22 13:42:25 +01:00
psc.h davinci: fix implicit declaration of function 'davinci_errata_workarounds' 2009-02-22 17:49:43 +01:00