]> git.sur5r.net Git - u-boot/blobdiff - board/logicpd/zoom1/zoom1.c
Merge branch 'u-boot-samsung/master' into 'u-boot-arm/master'
[u-boot] / board / logicpd / zoom1 / zoom1.c
index e442d687b735f3cbfb50e6c1f8848f325cb8f950..c79a261d232a74c24db5f7e90fe3f96a2347bfdc 100644 (file)
 #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/sys_proto.h>
 #include <asm/mach-types.h>
 #include "zoom1.h"
 
+DECLARE_GLOBAL_DATA_PTR;
+
 /*
  * Routine: board_init
  * Description: Early hardware init.
  */
 int board_init(void)
 {
-       DECLARE_GLOBAL_DATA_PTR;
-
        gpmc_init(); /* in SRAM or SDRAM, finish GPMC */
        /* board id for Linux */
        gd->bd->bi_arch_number = MACH_TYPE_OMAP_LDP;
@@ -88,6 +89,13 @@ void set_muxconf_regs(void)
        MUX_ZOOM1_MDK();
 }
 
+#ifdef CONFIG_GENERIC_MMC
+int board_mmc_init(bd_t *bis)
+{
+       return omap_mmc_init(0, 0, 0, -1, -1);
+}
+#endif
+
 #ifdef CONFIG_CMD_NET
 int board_eth_init(bd_t *bis)
 {