diff options
author | Ilya Yanok <yanok@emcraft.com> | 2011-11-28 06:37:34 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-12-06 23:59:35 +0100 |
commit | 80deda5d8e02c7e58dd4e037d754d72a8e1a99ae (patch) | |
tree | 941f87ac615c89985b0577bfb3a793d9f278e11e | |
parent | 2aa8720257beadde8f798bd30096ca4c9007c8e0 (diff) | |
download | u-boot-imx-80deda5d8e02c7e58dd4e037d754d72a8e1a99ae.zip u-boot-imx-80deda5d8e02c7e58dd4e037d754d72a8e1a99ae.tar.gz u-boot-imx-80deda5d8e02c7e58dd4e037d754d72a8e1a99ae.tar.bz2 |
davinci_emac: hardcode 100Mbps for AM35xx and RMII
For some reason code setting the speed based on the PHY feedback causes
troubles on AM3517 so hardcode 100Mbps for now.
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
-rw-r--r-- | drivers/net/davinci_emac.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c index 4760390..d6c4e63 100644 --- a/drivers/net/davinci_emac.c +++ b/drivers/net/davinci_emac.c @@ -520,7 +520,8 @@ static int davinci_eth_open(struct eth_device *dev, bd_t *bis) writel(1, &adap_emac->RXUNICASTSET); /* Enable MII interface and Full duplex mode */ -#ifdef CONFIG_SOC_DA8XX +#if defined(CONFIG_SOC_DA8XX) || \ + (defined(CONFIG_OMAP34XX) && defined(CONFIG_DRIVER_TI_EMAC_USE_RMII)) writel((EMAC_MACCONTROL_MIIEN_ENABLE | EMAC_MACCONTROL_FULLDUPLEX_ENABLE | EMAC_MACCONTROL_RMIISPEED_100), |