summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-12 01:09:52 (GMT)
committerWolfgang Denk <wd@denx.de>2009-03-20 21:39:12 (GMT)
commit9c150102bc1de375d36d97a1cc2dd0e9639b15df (patch)
tree83bd0206a829ce1efdcbf0542109913f467014f8 /include
parent92b50ffef978f05858a0ff4cbe88430bc51a28a2 (diff)
downloadu-boot-9c150102bc1de375d36d97a1cc2dd0e9639b15df.tar.xz
boards: get mac address from env and move load_sernum_ethaddr() to board 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 common ppc code call a board-specific function like load_sernum_ethaddr(), have each board call it in its own board-specific misc_init_r() function. The boards that get converted here are: - kup4k/kup4x - pcs440ep - tqm8xx Signed-off-by: Mike Frysinger <vapier@gentoo.org> CC: Ben Warren <biggerbadderben@gmail.com> CC: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/common.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/common.h b/include/common.h
index 22ab80b..952ddff 100644
--- a/include/common.h
+++ b/include/common.h
@@ -364,8 +364,6 @@ void display_mem_map(void);
void perform_soft_reset(void);
#endif
-void load_sernum_ethaddr (void);
-
/* $(BOARD)/$(BOARD).c */
int board_early_init_f (void);
int board_late_init (void);