summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorEnric Balletbo i Serra <eballetbo@iseebcn.com>2010-11-04 15:34:33 -0400
committerSandeep Paulraj <s-paulraj@ti.com>2010-11-04 15:34:33 -0400
commitf49d7b6cab188e704444736b23bdd7a8b7dc24b4 (patch)
tree5bb465f4d9be2fa06ef25201f60f3bf521f1c96f /board
parent4a1a06bc8b21c6787a22458142e3ca3c06935517 (diff)
downloadu-boot-imx-f49d7b6cab188e704444736b23bdd7a8b7dc24b4.zip
u-boot-imx-f49d7b6cab188e704444736b23bdd7a8b7dc24b4.tar.gz
u-boot-imx-f49d7b6cab188e704444736b23bdd7a8b7dc24b4.tar.bz2
ARMV7: OMAP3: Use generic mmc driver on IGEP v2
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')
-rw-r--r--board/isee/igep0020/igep0020.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/isee/igep0020/igep0020.c b/board/isee/igep0020/igep0020.c
index 3f7eda1..3ba541e 100644
--- a/board/isee/igep0020/igep0020.c
+++ b/board/isee/igep0020/igep0020.c
@@ -26,6 +26,7 @@
#include <asm/io.h>
#include <asm/arch/gpio.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>
@@ -91,6 +92,14 @@ static void setup_net_chip(void)
}
#endif
+#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