[U-Boot] [PATCH 4/4] EXYNOS5: Enable support for MSHCI

Rajeshwari Shinde rajeshwari.s at samsung.com
Fri May 25 13:53:18 CEST 2012


This patchs enables MSHCI driver for EXYNOS5.

Signed-off-by: Terry Lambert <tlambert at chromium.org>
Signed-off-by: Rajeshwari Shinde <rajeshwari.s at samsung.com>
---
This patch is based on:
	"PMIC: SMDK5250: Enable MAX77686 pmic chip"
 board/samsung/smdk5250/smdk5250.c |    3 +++
 include/configs/smdk5250.h        |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/board/samsung/smdk5250/smdk5250.c b/board/samsung/smdk5250/smdk5250.c
index 58763fd..3d7a3ed 100644
--- a/board/samsung/smdk5250/smdk5250.c
+++ b/board/samsung/smdk5250/smdk5250.c
@@ -137,6 +137,9 @@ int board_mmc_init(bd_t *bis)
 	}
 
 	err = s5p_mmc_init(2, 4);
+
+	err = exynos_mshci_init(PERIPH_ID_SDMMC4, 8);
+
 	return err;
 }
 #endif
diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h
index 05729e6..8355695 100644
--- a/include/configs/smdk5250.h
+++ b/include/configs/smdk5250.h
@@ -79,6 +79,7 @@
 #define CONFIG_GENERIC_MMC
 #define CONFIG_MMC
 #define CONFIG_S5P_MMC
+#define CONFIG_EXYNOS_MSHCI
 
 #define CONFIG_BOARD_EARLY_INIT_F
 
-- 
1.7.4.4



More information about the U-Boot mailing list