summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-esdhc-imx.c
diff options
context:
space:
mode:
authorDong Aisheng2013-10-18 13:48:48 +0200
committerChris Ball2013-10-21 21:58:16 +0200
commit888824bb63130ba70f310ebf8ffc2b44477847f5 (patch)
treeb6fd2787c16382339ffa6d23c296113fd798e76d /drivers/mmc/host/sdhci-esdhc-imx.c
parentmmc: sdhci-esdhc-imx: add delay line setting support (diff)
downloadkernel-qcow2-linux-888824bb63130ba70f310ebf8ffc2b44477847f5.tar.gz
kernel-qcow2-linux-888824bb63130ba70f310ebf8ffc2b44477847f5.tar.xz
kernel-qcow2-linux-888824bb63130ba70f310ebf8ffc2b44477847f5.zip
mmc: sdhci-esdhc-imx: enable SDR50 tuning for imx6q/dl
The imx6q/dl supports SDR50 tunning, enable it for a better timing on SDR50 mode. Signed-off-by: Dong Aisheng <b29396@freescale.com> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-esdhc-imx.c')
-rw-r--r--drivers/mmc/host/sdhci-esdhc-imx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c
index 260a81fde18d..1d1fcb2e9bf8 100644
--- a/drivers/mmc/host/sdhci-esdhc-imx.c
+++ b/drivers/mmc/host/sdhci-esdhc-imx.c
@@ -257,7 +257,8 @@ static u32 esdhc_readl_le(struct sdhci_host *host, int reg)
else
/* imx6q/dl does not have cap_1 register, fake one */
val = SDHCI_SUPPORT_DDR50 | SDHCI_SUPPORT_SDR104
- | SDHCI_SUPPORT_SDR50;
+ | SDHCI_SUPPORT_SDR50
+ | SDHCI_USE_SDR50_TUNING;
}
}