summaryrefslogtreecommitdiff
path: root/board/samsung/arndale
diff options
context:
space:
mode:
authorInderpal Singh <inderpal.singh@linaro.org>2013-08-21 10:38:57 +0530
committerMinkyu Kang <mk7.kang@samsung.com>2013-08-30 12:13:58 +0900
commitcc2b1012cbdb0422fc96d6e6c813baed0722f373 (patch)
treeb1e7590863546959c91f4786fbffcdc45ecffd76 /board/samsung/arndale
parenta2ac68fb2b35e57cd483e7d6fb30b9d9331acc01 (diff)
downloadu-boot-imx-cc2b1012cbdb0422fc96d6e6c813baed0722f373.zip
u-boot-imx-cc2b1012cbdb0422fc96d6e6c813baed0722f373.tar.gz
u-boot-imx-cc2b1012cbdb0422fc96d6e6c813baed0722f373.tar.bz2
exynos5250: arndale: Add mmc support
This patch adds mmc support to the arndale board. Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board/samsung/arndale')
-rw-r--r--board/samsung/arndale/arndale.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/board/samsung/arndale/arndale.c b/board/samsung/arndale/arndale.c
index 84d8f19..052fecd 100644
--- a/board/samsung/arndale/arndale.c
+++ b/board/samsung/arndale/arndale.c
@@ -6,6 +6,7 @@
#include <common.h>
#include <asm/arch/pinmux.h>
+#include <asm/arch/dwmmc.h>
#include <asm/arch/power.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -48,6 +49,19 @@ void dram_init_banksize(void)
}
}
+#ifdef CONFIG_GENERIC_MMC
+int board_mmc_init(bd_t *bis)
+{
+ int ret;
+ /* dwmmc initializattion for available channels */
+ ret = exynos_dwmmc_init(gd->fdt_blob);
+ if (ret)
+ debug("dwmmc init failed\n");
+
+ return ret;
+}
+#endif
+
static int board_uart_init(void)
{
int err = 0, uart_id;