diff options
author | Dong Aisheng <b29396@freescale.com> | 2013-10-18 07:48:49 -0400 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2013-10-21 15:58:20 -0400 |
commit | 69ed60e07bd2bb8517b4f87c6ddbb7f14c0189ab (patch) | |
tree | 48315f835317fa1be205f37f11aa25989a4f87a3 /drivers/mmc | |
parent | 888824bb63130ba70f310ebf8ffc2b44477847f5 (diff) |
mmc: sdhci-esdhc-imx: add preset value quirk for mx6
The i.MX6 does not support preset value feature.
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')
-rw-r--r-- | drivers/mmc/host/sdhci-esdhc-imx.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index 1d1fcb2e9bf8..461a4c3f4ef7 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c | |||
@@ -1006,8 +1006,10 @@ static int sdhci_esdhc_imx_probe(struct platform_device *pdev) | |||
1006 | * The imx6q ROM code will change the default watermark level setting | 1006 | * The imx6q ROM code will change the default watermark level setting |
1007 | * to something insane. Change it back here. | 1007 | * to something insane. Change it back here. |
1008 | */ | 1008 | */ |
1009 | if (esdhc_is_usdhc(imx_data)) | 1009 | if (esdhc_is_usdhc(imx_data)) { |
1010 | writel(0x08100810, host->ioaddr + ESDHC_WTMK_LVL); | 1010 | writel(0x08100810, host->ioaddr + ESDHC_WTMK_LVL); |
1011 | host->quirks2 |= SDHCI_QUIRK2_PRESET_VALUE_BROKEN; | ||
1012 | } | ||
1011 | 1013 | ||
1012 | if (imx_data->socdata->flags & ESDHC_FLAG_MAN_TUNING) | 1014 | if (imx_data->socdata->flags & ESDHC_FLAG_MAN_TUNING) |
1013 | sdhci_esdhc_ops.platform_execute_tuning = | 1015 | sdhci_esdhc_ops.platform_execute_tuning = |