]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mmc: zynq_sdhci: use correct quirk if CONFIG_ZYNQ_HISPD_BROKEN is defined
authorHannes Schmelzer <hannes.schmelzer@br-automation.com>
Wed, 7 Mar 2018 07:00:57 +0000 (08:00 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 2 May 2018 01:57:43 +0000 (10:57 +0900)
The 'SDHCI_QUIRK_NO_HISPD_BIT' is used wrong here. The purpose of this
quirk is to tell the sdhci-driver that the IP-core doesn't have a "high-
speed-enable" bit in its registers.

With this commit we change this to the correct quirk:
SDHCI_QUIRK_BROKEN_HISPD_MODE

Signed-off-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
drivers/mmc/zynq_sdhci.c

index 9463a06ebc6cc98169d48a755cf69b09f11231d4..76fe97f6efd5933d6e731fddc0a7400f0624e4ed 100644 (file)
@@ -54,7 +54,7 @@ static int arasan_sdhci_probe(struct udevice *dev)
                       SDHCI_QUIRK_BROKEN_R1B;
 
 #ifdef CONFIG_ZYNQ_HISPD_BROKEN
-       host->quirks |= SDHCI_QUIRK_NO_HISPD_BIT;
+       host->quirks |= SDHCI_QUIRK_BROKEN_HISPD_MODE;
 #endif
 
        host->max_clk = clock;