aboutsummaryrefslogtreecommitdiff
path: root/board/samsung
diff options
context:
space:
mode:
authorGirish K S <girish@avatar.(none)>2012-09-25 17:16:40 +0900
committerJohn Rigby <john.rigby@linaro.org>2012-12-06 13:51:46 -0700
commit79b5cbd30295aa6fe63a3dc0f72a10eadf98c4eb (patch)
tree17ef303df277d8d862e49607faee5c90a51f2777 /board/samsung
parentfc89bbf1640a031d887bfc0d3d624eefdbc23fa1 (diff)
board: samsung: Added dwmmc initialization
EVT1 version of Exynos5250 has dwmmc controller. This patch removes the Evt0 Init and replaces it with the EVT1 dwmmc init Signed-off-by: Girish K S <ks.giri@samsung)>
Diffstat (limited to 'board/samsung')
-rw-r--r--board/samsung/smdk5250/smdk5250.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/board/samsung/smdk5250/smdk5250.c b/board/samsung/smdk5250/smdk5250.c
index a5816e445..3bfc99ddd 100644
--- a/board/samsung/smdk5250/smdk5250.c
+++ b/board/samsung/smdk5250/smdk5250.c
@@ -26,7 +26,7 @@
#include <netdev.h>
#include <asm/arch/cpu.h>
#include <asm/arch/gpio.h>
-#include <asm/arch/mmc.h>
+#include <asm/arch/dwmmc.h>
#include <asm/arch/pinmux.h>
#include <asm/arch/sromc.h>
@@ -120,7 +120,7 @@ int board_eth_init(bd_t *bis)
#ifdef CONFIG_DISPLAY_BOARDINFO
int checkboard(void)
{
- printf("\nBoard: SMDK5250\n");
+ printf("\nBoard: %s\n",CONFIG_IDENT_STRING);
return 0;
}
@@ -130,14 +130,14 @@ int checkboard(void)
int board_mmc_init(bd_t *bis)
{
int err;
-
- err = exynos_pinmux_config(PERIPH_ID_SDMMC0, PINMUX_FLAG_8BIT_MODE);
+
+ err = exynos_pinmux_config(PERIPH_ID_SDMMC2, PINMUX_FLAG_NONE);
if (err) {
- debug("SDMMC0 not configured\n");
+ debug("SDMMC2 not configured\n");
return err;
}
-
- err = s5p_mmc_init(0, 8);
+
+ err = exynos_dwmmc_init(2, 4);
return err;
}
#endif