diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-04-12 22:49:26 -0700 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-06-12 20:39:47 +0200 |
commit | 641e0925e4bf7adf8e2e04e3ad81b840fd71cadd (patch) | |
tree | 2ced1e5c623193212fb8204890ac9524ef5a866f /net/bootp.c | |
parent | c790b04d230363d03939dc008bcc80f3ba4de1ae (diff) | |
download | u-boot-imx-641e0925e4bf7adf8e2e04e3ad81b840fd71cadd.zip u-boot-imx-641e0925e4bf7adf8e2e04e3ad81b840fd71cadd.tar.gz u-boot-imx-641e0925e4bf7adf8e2e04e3ad81b840fd71cadd.tar.bz2 |
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 'net/bootp.c')
0 files changed, 0 insertions, 0 deletions