diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-02-12 03:36:20 +0300 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-03-21 00:39:11 +0300 |
commit | 0107cf66f7346e8c7d6cf0fe99d2f265134afd59 (patch) | |
tree | c1e55d8bda28e709db5522892d26d683f9acc9dd /lib_ppc/board.c | |
parent | 19b5b533ccd522abeb501d510750693c35e20456 (diff) | |
download | u-boot-0107cf66f7346e8c7d6cf0fe99d2f265134afd59.tar.xz |
nx823: get mac address from environment
The environment is the canonical storage location of the mac address, so
we're killing off the global data location and moving everything to
querying the env directly.
For the nx823, the serial number is moved out of load_sernum_ethaddr() and
into misc_init_r() as is the env setup. This lets us kill off the former
function in the process.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
CC: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'lib_ppc/board.c')
-rw-r--r-- | lib_ppc/board.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c index f69c5f4f1f..b1612ff01c 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -899,10 +899,6 @@ void board_init_r (gd_t *id, ulong dest_addr) bd->bi_ethspeed = 0xFFFF; #endif -#ifdef CONFIG_NX823 - load_sernum_ethaddr (); -#endif - #ifdef CONFIG_HAS_ETH1 /* handle the 2nd ethernet address */ |