cmc_pu2: get mac address from environment
authorMike Frysinger <vapier@gentoo.org>
Thu, 12 Feb 2009 00:55:01 +0000 (19:55 -0500)
committerWolfgang Denk <wd@denx.de>
Fri, 20 Mar 2009 21:39:12 +0000 (22:39 +0100)
commit92b50ffef978f05858a0ff4cbe88430bc51a28a2
treedce17341b86d5d280a33d8c7ee71156d032515ad
parentd8d21e699d7fcfb6ab11635110266dd09b7edc62
cmc_pu2: 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.

Also rename load_sernum_ethaddr() to misc_init_r() so we don't need to
handle this board specially in common ARM code.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
CC: Ben Warren <biggerbadderben@gmail.com>
board/cmc_pu2/load_sernum_ethaddr.c
include/configs/cmc_pu2.h
lib_arm/board.c