summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorMartha Marx <mmarx@silicontkx.com>2008-05-29 15:37:21 -0400
committerJohn Rigby <jrigby@freescale.com>2008-07-10 11:36:32 -0600
commit16bee7b0dc294ee01ca2434aa1dd3bd717a69615 (patch)
treea471ca8cb6eeb8c1c30a1318248de2df7f8e125f /cpu
parentd4692b0ba83b7b454bbd92bad1f4befe6e1657b7 (diff)
downloadu-boot-imx-16bee7b0dc294ee01ca2434aa1dd3bd717a69615.zip
u-boot-imx-16bee7b0dc294ee01ca2434aa1dd3bd717a69615.tar.gz
u-boot-imx-16bee7b0dc294ee01ca2434aa1dd3bd717a69615.tar.bz2
Consolidate ADS5121 IO Pin configuration
Consolidate ADS5121 IO Pin configuration to one file board/ads5121/iopin.c. Remove pin config from cpu/mpc512x/fec.c Signed-off-by: Martha Marx <mmarx@silicontkx.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: John Rigby <jrigby@freescale.com>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/mpc512x/fec.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/cpu/mpc512x/fec.c b/cpu/mpc512x/fec.c
index c226a8a..e9df7de 100644
--- a/cpu/mpc512x/fec.c
+++ b/cpu/mpc512x/fec.c
@@ -604,13 +604,10 @@ static int mpc512x_fec_recv (struct eth_device *dev)
/********************************************************************/
int mpc512x_fec_initialize (bd_t * bis)
{
-
- immap_t *im = (immap_t*) CFG_IMMR;
mpc512x_fec_priv *fec;
struct eth_device *dev;
int i;
char *tmp, *end, env_enetaddr[6];
- uint32 *reg;
void * bd;
fec = (mpc512x_fec_priv *) malloc (sizeof(*fec));
@@ -639,18 +636,6 @@ int mpc512x_fec_initialize (bd_t * bis)
fec512x_miiphy_read, fec512x_miiphy_write);
#endif
- /*
- * Initialize I\O pins
- */
- reg = (uint32 *) &(im->io_ctrl.regs[PSC0_0_IDX]);
-
- for (i = 0; i < 15; i++)
- reg[i] = IOCTRL_MUX_FEC | 0x00000001;
-
- im->io_ctrl.regs[SPDIF_TXCLOCK_IDX] = IOCTRL_MUX_FEC | 0x00000001;
- im->io_ctrl.regs[SPDIF_TX_IDX] = IOCTRL_MUX_FEC | 0x00000001;
- im->io_ctrl.regs[SPDIF_RX_IDX] = IOCTRL_MUX_FEC | 0x00000001;
-
/* Clean up space FEC's MIB and FIFO RAM ...*/
memset ((void *) MPC512X_FEC + 0x200, 0x00, 0x400);