diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-04-13 05:49:26 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-06-12 18:39:47 (GMT) |
commit | 641e0925e4bf7adf8e2e04e3ad81b840fd71cadd (patch) | |
tree | 2ced1e5c623193212fb8204890ac9524ef5a866f /board/davinci/sonata | |
parent | c790b04d230363d03939dc008bcc80f3ba4de1ae (diff) | |
download | u-boot-fsl-qoriq-641e0925e4bf7adf8e2e04e3ad81b840fd71cadd.tar.xz |
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>
Diffstat (limited to 'board/davinci/sonata')
0 files changed, 0 insertions, 0 deletions