diff options
author | Tom Rini <trini@konsulko.com> | 2015-05-20 15:57:55 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-05-20 15:57:55 -0400 |
commit | 3238639d40732fe78fd62ae5e080465552e882fc (patch) | |
tree | b9f0f8565adf69504faf56fc7032068573e5fabe /drivers/net/macb.c | |
parent | cb0892b968e52fe0d09b4d51119d8f913685ed3c (diff) | |
parent | 76ec988b062ed880ab23d0e0d4e9e6c137b55cc3 (diff) |
Merge git://git.denx.de/u-boot-net
Diffstat (limited to 'drivers/net/macb.c')
-rw-r--r-- | drivers/net/macb.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/macb.c b/drivers/net/macb.c index 4e1a7fe583..f949161738 100644 --- a/drivers/net/macb.c +++ b/drivers/net/macb.c @@ -525,7 +525,6 @@ static int macb_phy_init(struct macb_device *macb) return 1; } -static int macb_write_hwaddr(struct eth_device *dev); static int macb_init(struct eth_device *netdev, bd_t *bd) { struct macb_device *macb = to_macb(netdev); @@ -594,14 +593,6 @@ static int macb_init(struct eth_device *netdev, bd_t *bd) #endif /* CONFIG_RMII */ } - /* update the ethaddr */ - if (is_valid_ethaddr(netdev->enetaddr)) { - macb_write_hwaddr(netdev); - } else { - printf("%s: mac address is not valid\n", netdev->name); - return -1; - } - if (!macb_phy_init(macb)) return -1; |