diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:01:31 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:01:31 +0200 |
commit | 14cf76973da39211e62fca9f6628c2ae0f2fdb09 (patch) | |
tree | 76c29bc0caaa2c48f93234d1c05c3cae1c1c253f /drivers/net/fec_mpc5200.c | |
parent | 2776fe72115fa82b2c100b0d35d8ad38aa2b7c38 (diff) | |
download | barebox-14cf76973da39211e62fca9f6628c2ae0f2fdb09.tar.gz barebox-14cf76973da39211e62fca9f6628c2ae0f2fdb09.tar.xz |
svn_rev_190
remove gpio pin init, board code should do this
Diffstat (limited to 'drivers/net/fec_mpc5200.c')
-rw-r--r-- | drivers/net/fec_mpc5200.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/net/fec_mpc5200.c b/drivers/net/fec_mpc5200.c index d2d3f16ffc..1257e6204e 100644 --- a/drivers/net/fec_mpc5200.c +++ b/drivers/net/fec_mpc5200.c @@ -377,23 +377,6 @@ static int mpc5xxx_fec_init_phy(struct eth_device *dev) #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) */ fec->eth->ievent = 0xffffffff; |