summaryrefslogtreecommitdiff
path: root/drivers/mmc/bcm2835_sdhci.c
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2016-09-25 23:10:01 (GMT)
committerJaehoon Chung <jh80.chung@samsung.com>2016-10-10 06:23:33 (GMT)
commit895549a2d994ecf1ca1636792e55019e56be2d7d (patch)
treeb4f6a366534ebd4fc776091b7e17b965c3b4f4c5 /drivers/mmc/bcm2835_sdhci.c
parente5113c333b318328619f8cf2d9984f05fc5c3b59 (diff)
downloadu-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/bcm2835_sdhci.c')
-rw-r--r--drivers/mmc/bcm2835_sdhci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mmc/bcm2835_sdhci.c b/drivers/mmc/bcm2835_sdhci.c
index 680b754..c1d8700 100644
--- a/drivers/mmc/bcm2835_sdhci.c
+++ b/drivers/mmc/bcm2835_sdhci.c
@@ -184,7 +184,6 @@ int bcm2835_sdhci_init(u32 regbase, u32 emmc_freq)
host->voltages = MMC_VDD_32_33 | MMC_VDD_33_34 | MMC_VDD_165_195;
host->ops = &bcm2835_ops;
- host->version = sdhci_readw(host, SDHCI_HOST_VERSION);
add_sdhci(host, emmc_freq, MIN_FREQ);
return 0;