summaryrefslogtreecommitdiff
path: root/board/isee
diff options
context:
space:
mode:
authorEnric Balletbo i Serra <eballetbo@iseebcn.com>2010-11-04 15:34:37 -0400
committerSandeep Paulraj <s-paulraj@ti.com>2010-11-04 15:34:37 -0400
commitac657c42af6b0bbc52a382667c1ab9fc26123c99 (patch)
treef94d8ea988bc163db4d6cf3025f7a605b8ff0a4b /board/isee
parentf49d7b6cab188e704444736b23bdd7a8b7dc24b4 (diff)
downloadu-boot-ac657c42af6b0bbc52a382667c1ab9fc26123c99.tar.gz
u-boot-ac657c42af6b0bbc52a382667c1ab9fc26123c99.tar.bz2
u-boot-ac657c42af6b0bbc52a382667c1ab9fc26123c99.zip
ARMV7: OMAP3: Use generic mmc driver on OMAP3 IGEP module
This patch switches from the legacy mmc driver to the new generic mmc driver Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'board/isee')
-rw-r--r--board/isee/igep0030/igep0030.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/isee/igep0030/igep0030.c b/board/isee/igep0030/igep0030.c
index 9244259112..bb4dc3ba17 100644
--- a/board/isee/igep0030/igep0030.c
+++ b/board/isee/igep0030/igep0030.c
@@ -24,6 +24,7 @@
#include <twl4030.h>
#include <asm/io.h>
#include <asm/arch/mem.h>
+#include <asm/arch/mmc_host_def.h>
#include <asm/arch/mux.h>
#include <asm/arch/sys_proto.h>
#include <asm/mach-types.h>
@@ -46,6 +47,14 @@ int board_init(void)
return 0;
}
+#ifdef CONFIG_GENERIC_MMC
+int board_mmc_init(bd_t *bis)
+{
+ omap_mmc_init(0);
+ return 0;
+}
+#endif
+
/*
* Routine: misc_init_r
* Description: Configure board specific parts