]> git.sur5r.net Git - u-boot/commitdiff
net, fec_mxc: only setup the device enetaddr with eeprom value
authorHeiko Schocher <hs@denx.de>
Wed, 31 Mar 2010 06:34:46 +0000 (08:34 +0200)
committerWolfgang Denk <wd@denx.de>
Wed, 31 Mar 2010 13:13:31 +0000 (15:13 +0200)
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>
drivers/net/fec_mxc.c

index 5af9cdba2ae5263421954c7ddae533722adfa4b2..8c4ade5ab5b3cfc11faea668b7b57230391a1919 100644 (file)
@@ -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;