1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-08-31 16:22:36 +02:00

Support MMC_MODE_DDR_52MHz for sunxi MMC

This commit is contained in:
Ondrej Jirman
2018-08-20 23:30:30 +02:00
parent 07fa2f187f
commit c500b4d236

View File

@@ -495,8 +495,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;
#if defined(CONFIG_MACH_SUN50I) || defined(CONFIG_MACH_SUN8I)
if (sdc_no == 2)
if (sdc_no == 2) {
cfg->host_caps = MMC_MODE_8BIT;
cfg->host_caps |= MMC_MODE_DDR_52MHz;
}
#endif
cfg->host_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS;
cfg->b_max = CONFIG_SYS_MMC_MAX_BLK_COUNT;