mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 16:10:58 +00:00
mmc: sdhci: do not overwrite host_caps in sdhci_setup_cfg()
This line overwrites host_cap that has been set by drivers and/or helpers like mmc_of_parse(). Accumulate capabilities flags. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
4b28f7bc93
commit
be165fbbf1
1 changed files with 1 additions and 1 deletions
|
@ -594,7 +594,7 @@ int sdhci_setup_cfg(struct mmc_config *cfg, struct sdhci_host *host,
|
||||||
if (host->quirks & SDHCI_QUIRK_BROKEN_VOLTAGE)
|
if (host->quirks & SDHCI_QUIRK_BROKEN_VOLTAGE)
|
||||||
cfg->voltages |= host->voltages;
|
cfg->voltages |= host->voltages;
|
||||||
|
|
||||||
cfg->host_caps = MMC_MODE_HS | MMC_MODE_HS_52MHz | MMC_MODE_4BIT;
|
cfg->host_caps |= MMC_MODE_HS | MMC_MODE_HS_52MHz | MMC_MODE_4BIT;
|
||||||
|
|
||||||
/* Since Host Controller Version3.0 */
|
/* Since Host Controller Version3.0 */
|
||||||
if (SDHCI_GET_VERSION(host) >= SDHCI_SPEC_300) {
|
if (SDHCI_GET_VERSION(host) >= SDHCI_SPEC_300) {
|
||||||
|
|
Loading…
Reference in a new issue