summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/freescale/mx50_arm2/mx50_arm2.c8
-rw-r--r--drivers/mmc/imx_esdhc.c2
2 files changed, 4 insertions, 6 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);
diff --git a/drivers/mmc/imx_esdhc.c b/drivers/mmc/imx_esdhc.c
index 78e0607..e3a1fb7 100644
--- a/drivers/mmc/imx_esdhc.c
+++ b/drivers/mmc/imx_esdhc.c
@@ -412,8 +412,6 @@ int fsl_esdhc_initialize(bd_t *bis, struct fsl_esdhc_cfg *cfg)
mmc->init = esdhc_init;
caps = regs->hostcapblt;
- if (caps & ESDHC_HOSTCAPBLT_VS18)
- mmc->voltages |= MMC_VDD_165_195;
if (caps & ESDHC_HOSTCAPBLT_VS30)
mmc->voltages |= MMC_VDD_29_30 | MMC_VDD_30_31;
if (caps & ESDHC_HOSTCAPBLT_VS33)