summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorFred Fan <r01011@freescale.com>2009-09-14 16:40:37 +0800
committerFred Fan <r01011@freescale.com>2009-09-14 16:40:37 +0800
commit3227c278048e6b13397d9d0793e77e703649d7de (patch)
treed3dc22638004075c861b709e1f9eaec7b768bec1 /drivers/net
parentd293115ed756b0b2912eb62ead1ddee647ec2fee (diff)
downloadu-boot-imx-3227c278048e6b13397d9d0793e77e703649d7de.zip
u-boot-imx-3227c278048e6b13397d9d0793e77e703649d7de.tar.gz
u-boot-imx-3227c278048e6b13397d9d0793e77e703649d7de.tar.bz2
ENGR00116472-1 U-BOOT upgrade to V2009.08
U-BOOT upgrade from V2009.01 to V2009.08 Initial version for i.MX51 BBG board. Support: FEC, SPI, spi Nor Flash Boot from spi nor flash and mmc/sd Signed-off-by:Fred Fan <r01011@freescale.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/mxc_fec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/mxc_fec.c b/drivers/net/mxc_fec.c
index 91d248b..dcfc263 100644
--- a/drivers/net/mxc_fec.c
+++ b/drivers/net/mxc_fec.c
@@ -622,10 +622,10 @@ int fec_init(struct eth_device *dev, bd_t *bd)
if (info->phy_addr < 0 || info->phy_addr > 0x1F)
info->phy_addr = mxc_fec_mii_discover_phy(dev);
#endif
- setFecDuplexSpeed(fecp, (unsigned char)bd, info->dup_spd);
+ setFecDuplexSpeed(fecp, (unsigned char)info->phy_addr, info->dup_spd);
#else
#ifndef CONFIG_DISCOVER_PHY
- setFecDuplexSpeed(fecp, (unsigned char)bd,
+ setFecDuplexSpeed(fecp, (unsigned char)info->phy_addr,
(FECDUPLEX << 16) | FECSPEED);
#endif /* ifndef CONFIG_SYS_DISCOVER_PHY */
#endif /* CONFIG_CMD_MII || CONFIG_MII */