]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/mmc/sunxi_mmc.c
sunxi: Add support for Allwinner A64 SoCs
[karo-tx-uboot.git] / drivers / mmc / sunxi_mmc.c
index 44d1a768c183148e9c93b859fe6225d37bb17f89..ce2dc4ae41c363c6d2c597e54d66227dde2b9a04 100644 (file)
@@ -480,6 +480,10 @@ 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 (sdc_no == 2)
+               cfg->host_caps = MMC_MODE_8BIT;
+#endif
        cfg->host_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS;
        cfg->b_max = CONFIG_SYS_MMC_MAX_BLK_COUNT;