]> git.sur5r.net Git - u-boot/commitdiff
mmc: sdhci: revert "mmc: sdhci: Claer high speed if not supported"
authorJaehoon Chung <jh80.chung@samsung.com>
Tue, 26 Jul 2016 10:03:49 +0000 (19:03 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 5 Aug 2016 02:21:25 +0000 (11:21 +0900)
This "commit 429790026021d522d51617217d4b86218cca5750" is wrong.
SDHCI_QUIRK_NO_HISPD_BIT is for skipping to set CTRL_HISPD bit.

For example, Exynos didn't have CTRL_HISPD. But Highspeed mode
is supported.
(This quirks doesn't mean  that driver didn't support the Highseepd mode.)

Note: If driver didn't support the Highspeed Mode, use or add the other
quirks.

After applied this patch, all Exynos SoCs are just running with 25MHz.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/sdhci.c

index 1d6d2fde0d8489dba3490f4e1714b4b65631cb89..4112223f24ab9cd2d7a76d0850327d66169296b6 100644 (file)
@@ -554,9 +554,6 @@ int sdhci_setup_cfg(struct mmc_config *cfg, const char *name, int buswidth,
                        cfg->host_caps |= MMC_MODE_8BIT;
        }
 
-       if (quirks & SDHCI_QUIRK_NO_HISPD_BIT)
-               cfg->host_caps &= ~(MMC_MODE_HS | MMC_MODE_HS_52MHz);
-
        if (host_caps)
                cfg->host_caps |= host_caps;