summaryrefslogtreecommitdiff
path: root/drivers/mmc/kona_sdhci.c
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2016-09-26 08:10:01 +0900
committerJaehoon Chung <jh80.chung@samsung.com>2016-10-10 15:23:33 +0900
commit895549a2d994ecf1ca1636792e55019e56be2d7d (patch)
treeb4f6a366534ebd4fc776091b7e17b965c3b4f4c5 /drivers/mmc/kona_sdhci.c
parente5113c333b318328619f8cf2d9984f05fc5c3b59 (diff)
downloadu-boot-imx-895549a2d994ecf1ca1636792e55019e56be2d7d.zip
u-boot-imx-895549a2d994ecf1ca1636792e55019e56be2d7d.tar.gz
u-boot-imx-895549a2d994ecf1ca1636792e55019e56be2d7d.tar.bz2
mmc: sdhci: use the host version value in sdhci_setup_cfg
"host->version" isn't a SoC specific value. It doesn't need to get in each SoC drivers. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'drivers/mmc/kona_sdhci.c')
-rw-r--r--drivers/mmc/kona_sdhci.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mmc/kona_sdhci.c b/drivers/mmc/kona_sdhci.c
index e730caa..c67a262 100644
--- a/drivers/mmc/kona_sdhci.c
+++ b/drivers/mmc/kona_sdhci.c
@@ -127,11 +127,6 @@ int kona_sdhci_init(int dev_index, u32 min_clk, u32 quirks)
return -EINVAL;
}
- if (quirks & SDHCI_QUIRK_REG32_RW)
- host->version = sdhci_readl(host, SDHCI_HOST_VERSION - 2) >> 16;
- else
- host->version = sdhci_readw(host, SDHCI_HOST_VERSION);
-
add_sdhci(host, max_clk, min_clk);
return ret;
}