]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARMV7: OMAP3: Use generic mmc driver on OMAP3 IGEP module
authorEnric Balletbo i Serra <eballetbo@iseebcn.com>
Thu, 4 Nov 2010 19:34:37 +0000 (15:34 -0400)
committerSandeep Paulraj <s-paulraj@ti.com>
Thu, 4 Nov 2010 19:34:37 +0000 (15:34 -0400)
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>
board/isee/igep0030/igep0030.c
include/configs/igep0030.h

index 924425911285e609f1901535009d03f921239ed4..bb4dc3ba1743ef87dccc48f893982e9a967c48f3 100644 (file)
@@ -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
index 031de35bf6db4086dab88ebb9511321e2267d6d9..d61793c33d82f47fd6440f514c89e9a2d145450f 100644 (file)
@@ -73,8 +73,9 @@
 #define CONFIG_ENV_OVERWRITE
 #define CONFIG_BAUDRATE                        115200
 #define CONFIG_SYS_BAUDRATE_TABLE      {4800, 9600, 19200, 38400, 57600, 115200}
+#define CONFIG_GENERIC_MMC             1
 #define CONFIG_MMC                     1
-#define CONFIG_OMAP3_MMC               1
+#define CONFIG_OMAP_HSMMC              1
 #define CONFIG_DOS_PARTITION           1
 
 /* DDR  */