From 7bcdea937a3d48ca39a57ba3ba1d3eed91ec5abf Mon Sep 17 00:00:00 2001 From: Jason Liu Date: Thu, 22 Jul 2010 21:10:17 +0800 Subject: ENGR00125220 MX28: SD(slot0)boot dhcp failed This is caused by fec_pwr_en pin is mis-used which lead to FEC not power on. This commit fix this issue. Signed-off-by:Jason Liu --- board/freescale/mx28_evk/mx28_evk.c | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'board') diff --git a/board/freescale/mx28_evk/mx28_evk.c b/board/freescale/mx28_evk/mx28_evk.c index cabb6f4..714cb67 100644 --- a/board/freescale/mx28_evk/mx28_evk.c +++ b/board/freescale/mx28_evk/mx28_evk.c @@ -52,17 +52,17 @@ static struct pin_desc mmc0_pins_desc[] = { }; static struct pin_desc mmc1_pins_desc[] = { - { PINID_SSP1_DATA0, PIN_FUN2, PAD_8MA, PAD_3V3, 1 }, - { PINID_SSP1_DATA1, PIN_FUN2, PAD_8MA, PAD_3V3, 1 }, - { PINID_SSP1_DATA2, PIN_FUN2, PAD_8MA, PAD_3V3, 1 }, - { PINID_SSP1_DATA3, PIN_FUN2, PAD_8MA, PAD_3V3, 1 }, - { PINID_SSP1_DATA4, PIN_FUN2, PAD_8MA, PAD_3V3, 1 }, - { PINID_SSP1_DATA5, PIN_FUN2, PAD_8MA, PAD_3V3, 1 }, - { PINID_SSP1_DATA6, PIN_FUN2, PAD_8MA, PAD_3V3, 1 }, - { PINID_SSP1_DATA7, PIN_FUN2, PAD_8MA, PAD_3V3, 1 }, - { PINID_SSP1_CMD, PIN_FUN2, PAD_8MA, PAD_3V3, 1 }, - { PINID_SSP1_DETECT, PIN_FUN2, PAD_8MA, PAD_3V3, 1 }, - { PINID_SSP1_SCK, PIN_FUN2, PAD_8MA, PAD_3V3, 1 } + { PINID_GPMI_D00, PIN_FUN2, PAD_8MA, PAD_3V3, 1 }, + { PINID_GPMI_D01, PIN_FUN2, PAD_8MA, PAD_3V3, 1 }, + { PINID_GPMI_D02, PIN_FUN2, PAD_8MA, PAD_3V3, 1 }, + { PINID_GPMI_D03, PIN_FUN2, PAD_8MA, PAD_3V3, 1 }, + { PINID_GPMI_D04, PIN_FUN2, PAD_8MA, PAD_3V3, 1 }, + { PINID_GPMI_D05, PIN_FUN2, PAD_8MA, PAD_3V3, 1 }, + { PINID_GPMI_D06, PIN_FUN2, PAD_8MA, PAD_3V3, 1 }, + { PINID_GPMI_D07, PIN_FUN2, PAD_8MA, PAD_3V3, 1 }, + { PINID_GPMI_RDY1, PIN_FUN2, PAD_8MA, PAD_3V3, 1 }, + { PINID_GPMI_RDY0, PIN_FUN2, PAD_8MA, PAD_3V3, 1 }, + { PINID_GPMI_WRN, PIN_FUN2, PAD_8MA, PAD_3V3, 1 } }; static struct pin_group mmc0_pins = { @@ -132,6 +132,9 @@ int get_mmc_env_devno() } #endif +#define PINID_SSP0_GPIO_WP PINID_SSP1_SCK +#define PINID_SSP1_GPIO_WP PINID_GPMI_RESETN + u32 ssp_mmc_is_wp(struct mmc *mmc) { return (mmc->block_dev.dev == 0) ? -- cgit v1.1