]> git.sur5r.net Git - u-boot/commit
npe: get mac address from environment
authorMike Frysinger <vapier@gentoo.org>
Thu, 12 Feb 2009 00:19:54 +0000 (19:19 -0500)
committerWolfgang Denk <wd@denx.de>
Fri, 20 Mar 2009 21:39:11 +0000 (22:39 +0100)
commit740e8ba7d475c49c1b76058e1bf354e376b5c4e0
tree03c70ab10f9f272c252bf9b72e94b84f82fb4156
parent6bacfa6a8e9b264d37c1262fc1f3e948d1feab81
npe: 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.

The resulting code can also be simplified even further.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
CC: Stefan Roese <sr@denx.de>
CC: Ben Warren <biggerbadderben@gmail.com>
cpu/ixp/npe/npe.c