mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 21:57:43 +00:00
mmc: sirf: fix the capbility to support DDR50
According to hardware spec, validate DDR50 mode for SDXC. Signed-off-by: Weijun Yang <york.yang@csr.com> Signed-off-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
9faac7b95e
commit
0de9125fa8
1 changed files with 2 additions and 1 deletions
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in a new issue