]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
bcm2835_sdhci: Add SDHCI_QUIRK_NO_HISPD_BIT flag
authorLubomir Rintel <lkundrak@v3.sk>
Tue, 10 Jun 2014 18:46:43 +0000 (20:46 +0200)
committerPantelis Antoniou <panto@antoniou-consulting.com>
Fri, 1 Aug 2014 15:57:02 +0000 (18:57 +0300)
Seems like the controller doesn't support the flag. None of the hi-speed cards
I've tried could be read, while they successfully worked with the quirk enabled.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
drivers/mmc/bcm2835_sdhci.c

index 54cfabfb91edb514ad161721b064092b2349c16e..82079d67cd8fc07565e5b8c57cc7e7c8234793b7 100644 (file)
@@ -179,7 +179,7 @@ int bcm2835_sdhci_init(u32 regbase, u32 emmc_freq)
        host->name = "bcm2835_sdhci";
        host->ioaddr = (void *)regbase;
        host->quirks = SDHCI_QUIRK_BROKEN_VOLTAGE | SDHCI_QUIRK_BROKEN_R1B |
-               SDHCI_QUIRK_WAIT_SEND_CMD;
+               SDHCI_QUIRK_WAIT_SEND_CMD | SDHCI_QUIRK_NO_HISPD_BIT;
        host->voltages = MMC_VDD_32_33 | MMC_VDD_33_34 | MMC_VDD_165_195;
        host->ops = &bcm2835_ops;