diff options
author | Heiko Schocher <hs@denx.de> | 2010-04-27 05:43:52 (GMT) |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2010-05-03 21:52:49 (GMT) |
commit | fb57ec97b90291c589087167f100483a089837bf (patch) | |
tree | 2795e5bc126259dee358225657f78b1d855f97a4 /drivers | |
parent | b5ce63ed12b4cd81d211621aca0c222b20d2a691 (diff) | |
download | u-boot-fb57ec97b90291c589087167f100483a089837bf.tar.xz |
net: fec_mxc: add write_hwaddr support
tested on the magnesium board.
Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/fec_mxc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index 68be747..57f89a3 100644 --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c @@ -505,7 +505,6 @@ static int fec_init(struct eth_device *dev, bd_t* bd) miiphy_restart_aneg(dev); fec_open(dev); - fec_set_hwaddr(dev); return 0; } @@ -713,6 +712,7 @@ static int fec_probe(bd_t *bd) edev->send = fec_send; edev->recv = fec_recv; edev->halt = fec_halt; + edev->write_hwaddr = fec_set_hwaddr; fec->eth = (struct ethernet_regs *)IMX_FEC_BASE; fec->bd = bd; |