]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
nx823: get mac address from environment
authorMike Frysinger <vapier@gentoo.org>
Thu, 12 Feb 2009 00:36:20 +0000 (19:36 -0500)
committerWolfgang Denk <wd@denx.de>
Fri, 20 Mar 2009 21:39:11 +0000 (22:39 +0100)
commit0107cf66f7346e8c7d6cf0fe99d2f265134afd59
treec1e55d8bda28e709db5522892d26d683f9acc9dd
parent19b5b533ccd522abeb501d510750693c35e20456
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>
board/nx823/flash.c
board/nx823/nx823.c
lib_ppc/board.c