Skip to content
Snippets Groups Projects
Commit 47819216 authored by Hannes Schmelzer's avatar Hannes Schmelzer Committed by Jaehoon Chung
Browse files

mmc: zynq_sdhci: use correct quirk if CONFIG_ZYNQ_HISPD_BROKEN is defined


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: default avatarHannes Schmelzer <hannes.schmelzer@br-automation.com>
parent 88a57125
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ static int arasan_sdhci_probe(struct udevice *dev) ...@@ -54,7 +54,7 @@ static int arasan_sdhci_probe(struct udevice *dev)
SDHCI_QUIRK_BROKEN_R1B; SDHCI_QUIRK_BROKEN_R1B;
#ifdef CONFIG_ZYNQ_HISPD_BROKEN #ifdef CONFIG_ZYNQ_HISPD_BROKEN
host->quirks |= SDHCI_QUIRK_NO_HISPD_BIT; host->quirks |= SDHCI_QUIRK_BROKEN_HISPD_MODE;
#endif #endif
host->max_clk = clock; host->max_clk = clock;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment