summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2010-09-19 21:21:07 -0700
committerWolfgang Denk <wd@denx.de>2010-10-17 20:14:19 +0200
commitcd7c57262f929c3ce73bb68484989bc243752438 (patch)
tree245d3757cc346de536d0d114eb730d12f83ce62c /board
parent0cd31144240221a4f6b35615f1af9159fb20b266 (diff)
ARMV7: OMAP4: Use generic mmc driver on Overo
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')
-rw-r--r--board/overo/overo.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/overo/overo.c b/board/overo/overo.c
index 1b67f1f502..9c926938ba 100644
--- a/board/overo/overo.c
+++ b/board/overo/overo.c
@@ -32,6 +32,7 @@
#include <netdev.h>
#include <twl4030.h>
#include <asm/io.h>
+#include <asm/arch/mmc_host_def.h>
#include <asm/arch/mux.h>
#include <asm/arch/mem.h>
#include <asm/arch/sys_proto.h>
@@ -225,3 +226,11 @@ int board_eth_init(bd_t *bis)
#endif
return rc;
}
+
+#ifdef CONFIG_GENERIC_MMC
+int board_mmc_init(bd_t *bis)
+{
+ omap_mmc_init(0);
+ return 0;
+}
+#endif