]> git.sur5r.net Git - u-boot/commit
boards: move board_get_enetaddr() into board-specific init
authorMike Frysinger <vapier@gentoo.org>
Mon, 16 Feb 2009 23:03:14 +0000 (18:03 -0500)
committerWolfgang Denk <wd@denx.de>
Fri, 20 Mar 2009 21:39:12 +0000 (22:39 +0100)
commitd8d21e699d7fcfb6ab11635110266dd09b7edc62
treeec591b9aaf82e817558bde954ba6dc616bc908fd
parentf11e6ff5b1859d9213f0d501b3309e065f487543
boards: move board_get_enetaddr() into board-specific init

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.

Rather than have the common ppc code have board-specific hooks, move the
board_get_enetaddr() function into the board-specific init functions.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
CC: Ben Warren <biggerbadderben@gmail.com>
16 files changed:
board/RPXClassic/RPXClassic.c
board/mbx8xx/mbx8xx.c
board/sandburst/common/sb_common.c
board/sandburst/common/sb_common.h
board/sandburst/karef/karef.c
board/sandburst/metrobox/metrobox.c
board/siemens/IAD210/IAD210.c
board/v38b/v38b.c
board/xpedite1k/xpedite1k.c
include/common.h
include/configs/IAD210.h
include/configs/MBX860T.h
include/configs/RPXClassic.h
include/configs/XPEDITE1K.h
include/configs/v38b.h
lib_ppc/board.c