summaryrefslogtreecommitdiff
path: root/drivers/mmc/sunxi_mmc.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-11-17 11:46:56 -0500
committerTom Rini <trini@konsulko.com>2016-11-17 11:46:56 -0500
commitc2cbd164ea5b5f564fcf03447c7bf9ec4a9f5699 (patch)
tree87b539f2c0942f070c78f5d56cd53c5c68bcc2d2 /drivers/mmc/sunxi_mmc.c
parent9e40ea04e9f1a70a184504c9e2beb051eb2d9335 (diff)
parent91f839d2d30e489c2d6bf0deafb65b01d416b715 (diff)
Merge branch 'master' of http://git.denx.de/u-boot-mmc
Diffstat (limited to 'drivers/mmc/sunxi_mmc.c')
-rw-r--r--drivers/mmc/sunxi_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c
index 6953accce1..b8716c93cb 100644
--- a/drivers/mmc/sunxi_mmc.c
+++ b/drivers/mmc/sunxi_mmc.c
@@ -463,7 +463,7 @@ struct mmc *sunxi_mmc_init(int sdc_no)
cfg->voltages = MMC_VDD_32_33 | MMC_VDD_33_34;
cfg->host_caps = MMC_MODE_4BIT;
-#ifdef CONFIG_MACH_SUN50I
+#if defined(CONFIG_MACH_SUN50I) || defined(CONFIG_MACH_SUN8I)
if (sdc_no == 2)
cfg->host_caps = MMC_MODE_8BIT;
#endif