[U-Boot] [PATCH 2/4] Correction to SSP0 drive strengths

robert at delien.nl robert at delien.nl
Tue Feb 7 17:52:33 CET 2012


From: Robert Delien <robert at delien.nl>


Signed-off-by: Robert Delien <robert at delien.nl>
---
 board/freescale/mx28evk/iomux.c |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/board/freescale/mx28evk/iomux.c b/board/freescale/mx28evk/iomux.c
index d724d2f..178bde2 100644
--- a/board/freescale/mx28evk/iomux.c
+++ b/board/freescale/mx28evk/iomux.c
@@ -35,7 +35,7 @@ const iomux_cfg_t iomux_setup[] = {
 	MX28_PAD_PWM0__DUART_RX | MXS_PAD_3V3,
 	MX28_PAD_PWM1__DUART_TX | MXS_PAD_3V3,
 
-	/* MMC0 */
+	/* Right-hand side MMC slot (MMC0) */
 	MX28_PAD_SSP0_DATA0__SSP0_D0 | MUX_CONFIG_SSP0,
 	MX28_PAD_SSP0_DATA1__SSP0_D1 | MUX_CONFIG_SSP0,
 	MX28_PAD_SSP0_DATA2__SSP0_D2 | MUX_CONFIG_SSP0,
@@ -45,15 +45,13 @@ const iomux_cfg_t iomux_setup[] = {
 	MX28_PAD_SSP0_DATA6__SSP0_D6 | MUX_CONFIG_SSP0,
 	MX28_PAD_SSP0_DATA7__SSP0_D7 | MUX_CONFIG_SSP0,
 	MX28_PAD_SSP0_CMD__SSP0_CMD | MUX_CONFIG_SSP0,
-	MX28_PAD_SSP0_DETECT__SSP0_CARD_DETECT |
-		(MXS_PAD_8MA | MXS_PAD_3V3 | MXS_PAD_NOPULL),
-	MX28_PAD_SSP0_SCK__SSP0_SCK |
-		(MXS_PAD_12MA | MXS_PAD_3V3 | MXS_PAD_NOPULL),
-	/* write protect */
-	MX28_PAD_SSP1_SCK__GPIO_2_12,
+	MX28_PAD_SSP0_DETECT__SSP0_CARD_DETECT | MUX_CONFIG_SSP0,
+	MX28_PAD_SSP0_SCK__SSP0_SCK | MUX_CONFIG_SSP0,
+	/* MMC0 Write-protect */
+	MX28_PAD_SSP1_SCK__GPIO_2_12 | MXS_PAD_3V3 | MXS_PAD_PULLUP,
 	/* MMC0 slot power enable */
 	MX28_PAD_PWM3__GPIO_3_28 |
-		(MXS_PAD_12MA | MXS_PAD_3V3 | MXS_PAD_PULLUP),
+		MXS_PAD_3V3 | MXS_PAD_4MA | MXS_PAD_PULLUP,
 
 	/* FEC0 */
 	MX28_PAD_ENET0_MDC__ENET0_MDC | MUX_CONFIG_ENET,
-- 
1.7.0.4



More information about the U-Boot mailing list