summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorRyan QIAN <b32804@freescale.com>2012-08-02 16:03:17 +0800
committerRyan QIAN <b32804@freescale.com>2012-08-03 07:34:15 +0800
commit76f691466a56fc235d4f4e138195dc78a5823c37 (patch)
tree4eb049c6c7f922f98d5594541aa4d4239d5b60bf /drivers/mmc
parentf22cf49308b16a26e4d41eeac34eaecc79490234 (diff)
ENGR00219191: mmc: esdhc: escape BROKEN_ADMA quirk on mx6dl TO 1.1 chips
- On mx6dl TO 1.1, adma now can work when ahb bus frequency is low like 24Mhz. Note: hw issue number:TKT093233 Signed-off-by: Ryan QIAN <b32804@freescale.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci-esdhc-imx.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c
index 7beb8b9323bc..e1736869034d 100644
--- a/drivers/mmc/host/sdhci-esdhc-imx.c
+++ b/drivers/mmc/host/sdhci-esdhc-imx.c
@@ -821,6 +821,13 @@ static int esdhc_pltfm_init(struct sdhci_host *host, struct sdhci_pltfm_data *pd
host->quirks |= SDHCI_QUIRK_NO_MULTIBLOCK
| SDHCI_QUIRK_BROKEN_ADMA;
+ /*
+ * on mx6dl TO 1.1, ADMA can work when ahb bus frequency is low,
+ * like 24Mhz.
+ */
+ if (mx6dl_revision() >= IMX_CHIP_REVISION_1_1)
+ host->quirks &= ~SDHCI_QUIRK_BROKEN_ADMA;
+
if (cpu_is_mx6())
host->quirks2 |= SDHCI_QUIRK_BROKEN_AUTO_CMD23,