summaryrefslogtreecommitdiff
path: root/board/ti/am3517crane
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2011-09-03 21:51:50 -0400
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-04 11:36:18 +0200
commita5a8821c47fa767d8946b3ace461c6f0cd285522 (patch)
treec43e92f47be7a9c26575834cfd6797c9992bd432 /board/ti/am3517crane
parent86c5c54409cfcf20ae7ae75f567fa9a4c4a2e87e (diff)
downloadu-boot-imx-a5a8821c47fa767d8946b3ace461c6f0cd285522.zip
u-boot-imx-a5a8821c47fa767d8946b3ace461c6f0cd285522.tar.gz
u-boot-imx-a5a8821c47fa767d8946b3ace461c6f0cd285522.tar.bz2
AM3517 CraneBoard: Use generic MMC driver
Switch from the legacy omap3 mmc driver to the new generic omap hsmmc driver. This patch is based on the work done for Beagle, etc. Signed-off-by: Tom Rini <trini@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'board/ti/am3517crane')
-rw-r--r--board/ti/am3517crane/am3517crane.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/ti/am3517crane/am3517crane.c b/board/ti/am3517crane/am3517crane.c
index d007044..cd5683d 100644
--- a/board/ti/am3517crane/am3517crane.c
+++ b/board/ti/am3517crane/am3517crane.c
@@ -24,6 +24,7 @@
#include <common.h>
#include <asm/io.h>
+#include <asm/arch/mmc_host_def.h>
#include <asm/arch/mem.h>
#include <asm/arch/mux.h>
#include <asm/arch/sys_proto.h>
@@ -73,3 +74,11 @@ void set_muxconf_regs(void)
{
MUX_AM3517CRANE();
}
+
+#ifdef CONFIG_GENERIC_MMC
+int board_mmc_init(bd_t *bis)
+{
+ omap_mmc_init(0);
+ return 0;
+}
+#endif