mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
mmc: sdhci: Clear high speed if not supported
Clear high speed bit if it was not supported by the driver. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Emil Lenchak <emill@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
a57a4a5d83
commit
4297900260
1 changed files with 4 additions and 0 deletions
|
@ -530,6 +530,10 @@ int add_sdhci(struct sdhci_host *host, u32 max_clk, u32 min_clk)
|
|||
if (caps & SDHCI_CAN_DO_8BIT)
|
||||
host->cfg.host_caps |= MMC_MODE_8BIT;
|
||||
}
|
||||
|
||||
if (host->quirks & SDHCI_QUIRK_NO_HISPD_BIT)
|
||||
host->cfg.host_caps &= ~(MMC_MODE_HS | MMC_MODE_HS_52MHz);
|
||||
|
||||
if (host->host_caps)
|
||||
host->cfg.host_caps |= host->host_caps;
|
||||
|
||||
|
|
Loading…
Reference in a new issue