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

Since the address is in the PLM_DEVICE_BLOCK structure already, there is
no need to pass the NodeAddress as a second parameter.  So drop the second
argument to the LM_SetMacAddress() function (and update the tigon3 driver
accordingly).

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
CC: Ben Warren <biggerbadderben@gmail.com>
drivers/net/bcm570x.c
drivers/net/bcm570x_lm.h
drivers/net/tigon3.c