From 0cd31144240221a4f6b35615f1af9159fb20b266 Mon Sep 17 00:00:00 2001 From: Steve Sakoman Date: Sun, 19 Sep 2010 21:19:48 -0700 Subject: ARMV7: OMAP4: Use generic mmc driver on Beagle This patch switches from the legacy mmc driver to the new generic mmc driver Signed-off-by: Steve Sakoman --- board/ti/beagle/beagle.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'board') diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c index 4647908052..c5d6679f48 100644 --- a/board/ti/beagle/beagle.c +++ b/board/ti/beagle/beagle.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include @@ -169,3 +170,11 @@ void set_muxconf_regs(void) { MUX_BEAGLE(); } + +#ifdef CONFIG_GENERIC_MMC +int board_mmc_init(bd_t *bis) +{ + omap_mmc_init(0); + return 0; +} +#endif -- cgit v1.2.3