From d6906cb812fe3264339a62874d4463b2e1d3f902 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Sat, 3 Sep 2011 21:50:35 -0400 Subject: OMAP3: Zoom1: 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 Signed-off-by: Sandeep Paulraj --- board/logicpd/zoom1/zoom1.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'board/logicpd') diff --git a/board/logicpd/zoom1/zoom1.c b/board/logicpd/zoom1/zoom1.c index 7ef13cc623..dec0b2611f 100644 --- a/board/logicpd/zoom1/zoom1.c +++ b/board/logicpd/zoom1/zoom1.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include @@ -88,6 +89,14 @@ void set_muxconf_regs(void) MUX_ZOOM1_MDK(); } +#ifdef CONFIG_GENERIC_MMC +int board_mmc_init(bd_t *bis) +{ + omap_mmc_init(0); + return 0; +} +#endif + #ifdef CONFIG_CMD_NET int board_eth_init(bd_t *bis) { -- cgit v1.2.3