aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDong Aisheng <b29396@freescale.com>2013-10-30 10:09:52 -0400
committerChris Ball <chris@printf.net>2014-01-13 12:48:04 -0500
commite2997c944dbdff3ffef993cee860f63eb06e347e (patch)
tree049efa6e329564c1f196670eff9a5d7a480fea9f
parente526003b55ab32196ad4c1ce47d5edbfbd1b8405 (diff)
mmc: sdhci-esdhc-imx: add MMC_CAP_1_8V_DDR for mx6
The i.MX6 supports 1.8v/3.3v eMMC DDR mode, so add this flag. Signed-off-by: Dong Aisheng <b29396@freescale.com> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org>
-rw-r--r--drivers/mmc/host/sdhci-esdhc-imx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c
index fc32367c148c..baa27c75b771 100644
--- a/drivers/mmc/host/sdhci-esdhc-imx.c
+++ b/drivers/mmc/host/sdhci-esdhc-imx.c
@@ -1025,6 +1025,7 @@ static int sdhci_esdhc_imx_probe(struct platform_device *pdev)
1025 if (esdhc_is_usdhc(imx_data)) { 1025 if (esdhc_is_usdhc(imx_data)) {
1026 writel(0x08100810, host->ioaddr + ESDHC_WTMK_LVL); 1026 writel(0x08100810, host->ioaddr + ESDHC_WTMK_LVL);
1027 host->quirks2 |= SDHCI_QUIRK2_PRESET_VALUE_BROKEN; 1027 host->quirks2 |= SDHCI_QUIRK2_PRESET_VALUE_BROKEN;
1028 host->mmc->caps |= MMC_CAP_1_8V_DDR;
1028 } 1029 }
1029 1030
1030 if (imx_data->socdata->flags & ESDHC_FLAG_MAN_TUNING) 1031 if (imx_data->socdata->flags & ESDHC_FLAG_MAN_TUNING)