diff options
author | Jason Liu <r64343@freescale.com> | 2010-07-22 21:10:17 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2010-07-22 21:22:24 +0800 |
commit | 7bcdea937a3d48ca39a57ba3ba1d3eed91ec5abf (patch) | |
tree | 8a1165dc188201d8f8c6254c137304b29c843f42 /board | |
parent | 1bc5e5f2cee211a74ee79e0eb5f7f37a3db387f4 (diff) | |
download | u-boot-imx-7bcdea937a3d48ca39a57ba3ba1d3eed91ec5abf.zip u-boot-imx-7bcdea937a3d48ca39a57ba3ba1d3eed91ec5abf.tar.gz u-boot-imx-7bcdea937a3d48ca39a57ba3ba1d3eed91ec5abf.tar.bz2 |
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 <r64343@freescale.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/mx28_evk/mx28_evk.c | 25 |
1 files changed, 14 insertions, 11 deletions
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) ? |