mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
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>
This commit is contained in:
parent
2aa8720257
commit
80deda5d8e
1 changed files with 2 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Reference in a new issue