diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2016-09-25 23:10:01 (GMT) |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2016-10-10 06:23:33 (GMT) |
commit | 895549a2d994ecf1ca1636792e55019e56be2d7d (patch) | |
tree | b4f6a366534ebd4fc776091b7e17b965c3b4f4c5 /drivers/mmc/spear_sdhci.c | |
parent | e5113c333b318328619f8cf2d9984f05fc5c3b59 (diff) | |
download | u-boot-fsl-qoriq-895549a2d994ecf1ca1636792e55019e56be2d7d.tar.xz |
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/spear_sdhci.c')
-rw-r--r-- | drivers/mmc/spear_sdhci.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mmc/spear_sdhci.c b/drivers/mmc/spear_sdhci.c index 6ca96a2..06179cd 100644 --- a/drivers/mmc/spear_sdhci.c +++ b/drivers/mmc/spear_sdhci.c @@ -22,11 +22,6 @@ int spear_sdhci_init(u32 regbase, u32 max_clk, u32 min_clk, u32 quirks) host->ioaddr = (void *)regbase; host->quirks = quirks; - 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 0; } |