summaryrefslogtreecommitdiff
path: root/drivers/net/fec_mxc.c
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2010-03-31 08:34:46 +0200
committerWolfgang Denk <wd@denx.de>2010-03-31 15:13:31 +0200
commitb78b48c6a0c34b2991e31fc4548aaf773d34f2b3 (patch)
tree03a1655be86df32b4096969ee5b607cf4fd68015 /drivers/net/fec_mxc.c
parentd5a64237d58ded31c2eed455c7a346e1c85f5565 (diff)
downloadu-boot-imx-b78b48c6a0c34b2991e31fc4548aaf773d34f2b3.zip
u-boot-imx-b78b48c6a0c34b2991e31fc4548aaf773d34f2b3.tar.gz
u-boot-imx-b78b48c6a0c34b2991e31fc4548aaf773d34f2b3.tar.bz2
net, fec_mxc: only setup the device enetaddr with eeprom value
Only fill the device enetaddr with the contents of the eeprom, do not program it in MAC address registers Signed-off-by: Heiko Schocher <hs@denx.de> Acked-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/net/fec_mxc.c')
-rw-r--r--drivers/net/fec_mxc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c
index 5af9cdb..8c4ade5 100644
--- a/drivers/net/fec_mxc.c
+++ b/drivers/net/fec_mxc.c
@@ -752,7 +752,6 @@ static int fec_probe(bd_t *bd)
if (fec_get_hwaddr(edev, ethaddr) == 0) {
printf("got MAC address from EEPROM: %pM\n", ethaddr);
memcpy(edev->enetaddr, ethaddr, 6);
- fec_set_hwaddr(edev);
}
return 0;