diff options
author | Anish Trivedi <anish@freescale.com> | 2010-07-07 12:11:44 -0500 |
---|---|---|
committer | Anish Trivedi <anish@freescale.com> | 2010-07-07 18:49:28 -0500 |
commit | 1ac6a858ea0d1618b9341794c4b9b550cce659ad (patch) | |
tree | 72394d254b314b200e68873c0d40d04af6fc4f8f /board | |
parent | 06397921bf3d9cf8cf56ccdffab5397867dce1d1 (diff) | |
download | u-boot-imx-1ac6a858ea0d1618b9341794c4b9b550cce659ad.zip u-boot-imx-1ac6a858ea0d1618b9341794c4b9b550cce659ad.tar.gz u-boot-imx-1ac6a858ea0d1618b9341794c4b9b550cce659ad.tar.bz2 |
ENGR00124951 Uboot cannot initialize MMC cards
Removed low voltage (1.8V) from supported voltage ranges.
Changed SD2_CMD pad setting to enable SD2 r/w in uboot.
Loaded env from booted device instead of SD1 always.
Signed-off-by: Anish Trivedi <anish@freescale.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/mx50_arm2/mx50_arm2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/board/freescale/mx50_arm2/mx50_arm2.c b/board/freescale/mx50_arm2/mx50_arm2.c index d606dfc..bb0ea3a 100644 --- a/board/freescale/mx50_arm2/mx50_arm2.c +++ b/board/freescale/mx50_arm2/mx50_arm2.c @@ -434,13 +434,13 @@ int get_mmc_env_devno() switch (soc_sbmr & 0x00300000) { default: - case 0: + case 0x0: mmc_devno = 0; break; - case 1: + case 0x00100000: mmc_devno = 1; break; - case 2: + case 0x00200000: mmc_devno = 2; break; } @@ -486,7 +486,7 @@ int esdhc_gpio_init(bd_t *bis) mxc_request_iomux(MX50_PIN_SD2_D6, IOMUX_CONFIG_ALT0); mxc_request_iomux(MX50_PIN_SD2_D7, IOMUX_CONFIG_ALT0); - mxc_iomux_set_pad(MX50_PIN_SD2_CMD, 0x1E4); + mxc_iomux_set_pad(MX50_PIN_SD2_CMD, 0x14); mxc_iomux_set_pad(MX50_PIN_SD2_CLK, 0xD4); mxc_iomux_set_pad(MX50_PIN_SD2_D0, 0x1D4); mxc_iomux_set_pad(MX50_PIN_SD2_D1, 0x1D4); |