]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm: get mac address from environment
authorMike Frysinger <vapier@gentoo.org>
Thu, 12 Feb 2009 00:39:55 +0000 (19:39 -0500)
committerWolfgang Denk <wd@denx.de>
Fri, 20 Mar 2009 21:39:11 +0000 (22:39 +0100)
commitf11e6ff5b1859d9213f0d501b3309e065f487543
tree4588287ee55973987a7f2f24b2ae8cf0a3b70fef
parent0107cf66f7346e8c7d6cf0fe99d2f265134afd59
arm: 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.

Some warts are remaining and should be killed off (by moving the func to
the appropriate board init code):
- davinci_eth_set_mac_addr
- cs8900_get_enetaddr
- smc_set_mac_addr

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