Commit 0de9125f authored by Weijun Yang's avatar Weijun Yang Committed by Ulf Hansson

mmc: sirf: fix the capbility to support DDR50

According to hardware spec, validate DDR50 mode
for SDXC.
Signed-off-by: default avatarWeijun Yang <york.yang@csr.com>
Signed-off-by: default avatarBarry Song <Baohua.Song@csr.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 9faac7b9
...@@ -50,7 +50,8 @@ static u32 sdhci_sirf_readl_le(struct sdhci_host *host, int reg) ...@@ -50,7 +50,8 @@ static u32 sdhci_sirf_readl_le(struct sdhci_host *host, int reg)
if (unlikely((reg == SDHCI_CAPABILITIES_1) && if (unlikely((reg == SDHCI_CAPABILITIES_1) &&
(host->mmc->caps & MMC_CAP_UHS_SDR50))) { (host->mmc->caps & MMC_CAP_UHS_SDR50))) {
/* fake CAP_1 register */ /* fake CAP_1 register */
val = SDHCI_SUPPORT_SDR50 | SDHCI_USE_SDR50_TUNING; val = SDHCI_SUPPORT_DDR50 |
SDHCI_SUPPORT_SDR50 | SDHCI_USE_SDR50_TUNING;
} }
if (unlikely(reg == SDHCI_SLOT_INT_STATUS)) { if (unlikely(reg == SDHCI_SLOT_INT_STATUS)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment