diff options
author | Ryan QIAN <b32804@freescale.com> | 2012-08-02 16:03:17 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-06-03 22:55:15 -0500 |
commit | bf92434c36c586e75d00f277930099defa716967 (patch) | |
tree | cfc25e21b716c38acce110623fba47b9e376e338 /drivers/mmc | |
parent | 2352805c1c49379bb71c165914913cc2ee30c2d4 (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.c | 7 |
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, |