mmc: sunxi: add SDHC support for sun6i/sun7i/sun8i
Subsystems (2)
PATCH 1/1 mmc: sunxi: add SDHC support for sun6i/sun7i/sun8i
Allwinner A20/A23/A31's SD/MMC host support SDHC High Capacity feature.
Signed-off-by Wills Wang <[email protected]>
--- drivers/mmc/sunxi_mmc.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/mmc/sunxi_mmc.c +3 -0
@@ -376,6 +376,9 @@ int sunxi_mmc_init(int sdc_no) cfg->voltages =MMC_VDD_32_33 |MMC_VDD_33_34 ; cfg->host_caps =MMC_MODE_4BIT ; cfg->host_caps |= MMC_MODE_HS_52MHz |MMC_MODE_HS ; +#if defined(CONFIG_SUN6I ) || defined(CONFIG_SUN7I ) || defined(CONFIG_SUN8I ) + cfg->host_caps |=MMC_MODE_HC ; +#endif cfg->b_max =CONFIG_SYS_MMC_MAX_BLK_COUNT ; cfg->f_min =400000 ;
Signature · 1 line
1.8.3.2
PATCH 1/1 mmc: sunxi: add SDHC support for sun6i/sun7i/sun8i
Hi,
Quoted 3 lines · Wills Wang
Allwinner A20/A23/A31's SD/MMC host support SDHC High Capacity feature.
Signed-off-by Wills Wang <[email protected]>
Thanks, added to u-boot-sunxi next:
http://git.denx.de/?p=u-boot/u-boot-sunxi.git;a=shortlog;h=refs/heads/next
I plan to include it in the next pull-req for v2014.10 .
Regards,
Hans