public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [u-boot] [PATCH V1 1/1] mmc: sunxi: add SDHC support for sun6i/sun7i/sun8i
@ 2014-09-22 10:26 Wills Wang
  2014-09-28 15:37 ` Hans de Goede
  0 siblings, 1 reply; 2+ messages in thread
From: Wills Wang @ 2014-09-22 10:26 UTC (permalink / raw)
  To: u-boot

Allwinner A20/A23/A31's SD/MMC host support SDHC High Capacity feature. 

Signed-off-by: Wills Wang <wills.wang.open@gmail.com>
---
 drivers/mmc/sunxi_mmc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c
index 459e476..0f3ee67 100644
--- a/drivers/mmc/sunxi_mmc.c
+++ b/drivers/mmc/sunxi_mmc.c
@@ -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;
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [u-boot] [PATCH V1 1/1] mmc: sunxi: add SDHC support for sun6i/sun7i/sun8i
  2014-09-22 10:26 [U-Boot] [u-boot] [PATCH V1 1/1] mmc: sunxi: add SDHC support for sun6i/sun7i/sun8i Wills Wang
@ 2014-09-28 15:37 ` Hans de Goede
  0 siblings, 0 replies; 2+ messages in thread
From: Hans de Goede @ 2014-09-28 15:37 UTC (permalink / raw)
  To: u-boot

Hi,

On 09/22/2014 12:26 PM, Wills Wang wrote:
> Allwinner A20/A23/A31's SD/MMC host support SDHC High Capacity feature. 
> 
> Signed-off-by: Wills Wang <wills.wang.open@gmail.com>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-28 15:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-22 10:26 [U-Boot] [u-boot] [PATCH V1 1/1] mmc: sunxi: add SDHC support for sun6i/sun7i/sun8i Wills Wang
2014-09-28 15:37 ` Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox