summaryrefslogtreecommitdiffstats
path: root/post/cpu/mpc8xx/ether.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-11 19:09:54 -0500
committerWolfgang Denk <wd@denx.de>2009-03-20 22:39:11 +0100
commit03f3d8d3b39cf85c0ce7ca903b436701e8aa610b (patch)
tree290db467d9217ac53a4e6f799a3f7547a3da48a4 /post/cpu/mpc8xx/ether.c
parentc527ce92511cbf723c2ca77bee1cf9ecf83dac81 (diff)
downloadtalos-obmc-uboot-03f3d8d3b39cf85c0ce7ca903b436701e8aa610b.tar.gz
talos-obmc-uboot-03f3d8d3b39cf85c0ce7ca903b436701e8aa610b.zip
lan91c96/smc91111/smc911x: 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, do not bother checking the EEPROM if the env is setup. This simplifies the code greatly. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Wolfgang Dnek <wd@denx.de> CC: Ben Warren <biggerbadderben@gmail.com> CC: Rolf Offermanns <rof@sysgo.de> CC: Erik Stahlman <erik@vt.edu> CC: Daris A Nevil <dnevil@snmc.com> CC: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'post/cpu/mpc8xx/ether.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud