summaryrefslogtreecommitdiff
path: root/board/ti/beagle
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2010-09-19 21:19:48 -0700
committerWolfgang Denk <wd@denx.de>2010-10-17 20:14:18 +0200
commit0cd31144240221a4f6b35615f1af9159fb20b266 (patch)
tree5a16974e05ccb5360bdd8bc350d5be100baa276f /board/ti/beagle
parent084c4c1bc10ef7abd64eebaf4c0a559409c82ddb (diff)
downloadu-boot-imx-0cd31144240221a4f6b35615f1af9159fb20b266.zip
u-boot-imx-0cd31144240221a4f6b35615f1af9159fb20b266.tar.gz
u-boot-imx-0cd31144240221a4f6b35615f1af9159fb20b266.tar.bz2
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 <steve@sakoman.com>
Diffstat (limited to 'board/ti/beagle')
-rw-r--r--board/ti/beagle/beagle.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
index 4647908..c5d6679 100644
--- a/board/ti/beagle/beagle.c
+++ b/board/ti/beagle/beagle.c
@@ -32,6 +32,7 @@
#include <common.h>
#include <twl4030.h>
#include <asm/io.h>
+#include <asm/arch/mmc_host_def.h>
#include <asm/arch/mux.h>
#include <asm/arch/sys_proto.h>
#include <asm/arch/gpio.h>
@@ -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