[U-Boot] [PATCH] mmc: mxsmmc: Enable MMC HC support

Marek Vasut marex at denx.de
Thu Aug 1 13:54:13 CEST 2013


Enable support for high-capacity eMMC and MMC cards. The MXS MMC
driver has no problem with those.

From: Amaury Pouly <amaury.pouly at gmail.com>
Signed-off-by: Marek Vasut <marex at denx.de>
Signed-off-by: Amaury Pouly <amaury.pouly at gmail.com>
Cc: Andy Fleming <afleming at freescale.com>
Cc: Fabio Estevam <fabio.estevam at freescale.com>
Cc: Stefano Babic <sbabic at denx.de>
Cc: Otavio Salvador <otavio at ossystems.com.br>
---
 drivers/mmc/mxsmmc.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/mmc/mxsmmc.c b/drivers/mmc/mxsmmc.c
index e5a5d75..245f9d0 100644
--- a/drivers/mmc/mxsmmc.c
+++ b/drivers/mmc/mxsmmc.c
@@ -410,7 +410,8 @@ int mxsmmc_initialize(bd_t *bis, int id, int (*wp)(int), int (*cd)(int))
 	mmc->voltages = MMC_VDD_32_33 | MMC_VDD_33_34;
 
 	mmc->host_caps = MMC_MODE_4BIT | MMC_MODE_8BIT |
-			 MMC_MODE_HS_52MHz | MMC_MODE_HS;
+			 MMC_MODE_HS_52MHz | MMC_MODE_HS |
+			 MMC_MODE_HC;
 
 	/*
 	 * SSPCLK = 480 * 18 / 29 / 1 = 297.731 MHz
-- 
1.7.10.4



More information about the U-Boot mailing list