bsps/arm: Fix LPC Ethernet driver initialization

This commit is contained in:
Sebastian Huber
2013-01-09 16:25:37 +01:00
parent da80202531
commit f12ef23941

View File

@@ -1323,6 +1323,9 @@ static int lpc_eth_up_or_down(lpc_eth_driver_entry *e, bool up)
lpc_eth_config_module_enable();
/* Enable RX/TX reset and disable soft reset */
lpc_eth->mac1 = 0xf00;
/* Initialize PHY */
lpc_eth->mcfg = ETH_MCFG_CLOCK_SELECT(0x7);
eno = lpc_eth_phy_up(e);