9
0
Fork 0

svn_rev_190

remove gpio pin init, board code should do this
This commit is contained in:
Sascha Hauer 2007-07-05 18:01:31 +02:00 committed by Sascha Hauer
parent 2776fe7211
commit 14cf76973d
1 changed files with 0 additions and 17 deletions

View File

@ -376,23 +376,6 @@ static int mpc5xxx_fec_init_phy(struct eth_device *dev)
printf ("mpc5xxx_fec_init_phy... Begin\n");
#endif
/*
* Initialize GPIO pins
*/
if (fec->xcv_type == SEVENWIRE) {
/* 10MBit with 7-wire operation */
#if defined(CONFIG_TOTAL5200)
/* 7-wire and USB2 on Ethernet */
*(vu_long *)MPC5XXX_GPS_PORT_CONFIG |= 0x00030000;
#else /* !CONFIG_TOTAL5200 */
/* 7-wire only */
*(vu_long *)MPC5XXX_GPS_PORT_CONFIG |= 0x00020000;
#endif /* CONFIG_TOTAL5200 */
} else {
/* 100MBit with MD operation */
*(vu_long *)MPC5XXX_GPS_PORT_CONFIG |= 0x00050000;
}
/*
* Clear FEC-Lite interrupt event register(IEVENT)
*/