]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARMV7: OMAP3: Use generic mmc driver on IGEP v2
authorEnric Balletbo i Serra <eballetbo@iseebcn.com>
Thu, 4 Nov 2010 19:34:33 +0000 (15:34 -0400)
committerSandeep Paulraj <s-paulraj@ti.com>
Thu, 4 Nov 2010 19:34:33 +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/igep0020/igep0020.c
include/configs/igep0020.h

index 3f7eda1a6badb85bd901076bf519b65dc5dec344..3ba541e21e6c5596142568be95f53da518a27853 100644 (file)
@@ -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
index a970ad2ef51168812599f77d972ab9e6b8c58b55..c19ecc0e4b298571318689b230a5626a967538dc 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  */