diff options
author | Tom Rini <trini@ti.com> | 2011-09-03 21:51:50 -0400 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-09-04 11:36:18 +0200 |
commit | a5a8821c47fa767d8946b3ace461c6f0cd285522 (patch) | |
tree | c43e92f47be7a9c26575834cfd6797c9992bd432 /board/ti/am3517crane | |
parent | 86c5c54409cfcf20ae7ae75f567fa9a4c4a2e87e (diff) | |
download | u-boot-a5a8821c47fa767d8946b3ace461c6f0cd285522.tar.gz u-boot-a5a8821c47fa767d8946b3ace461c6f0cd285522.tar.bz2 u-boot-a5a8821c47fa767d8946b3ace461c6f0cd285522.zip |
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.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/board/ti/am3517crane/am3517crane.c b/board/ti/am3517crane/am3517crane.c index d007044b2d..cd5683d9be 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 |