From 888824bb63130ba70f310ebf8ffc2b44477847f5 Mon Sep 17 00:00:00 2001 From: Dong Aisheng Date: Fri, 18 Oct 2013 19:48:48 +0800 Subject: [PATCH] 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 Acked-by: Shawn Guo Signed-off-by: Chris Ball --- drivers/mmc/host/sdhci-esdhc-imx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } } -- 2.11.0