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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user