ti: boot: Register the MMC controllers in SPL in the same way as in u-boot
[u-boot.git] / board / gumstix / duovero / duovero.c
index c9cd62e3344e1f6d2227fbe6a83235ed54a6bcf2..11d2d7f45f1e080c9da7cfae0b70828e90a24189 100644 (file)
@@ -110,17 +110,19 @@ void set_muxconf_regs(void)
                   sizeof(struct pad_conf_entry));
 }
 
-#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_GENERIC_MMC)
+#if defined(CONFIG_GENERIC_MMC)
 int board_mmc_init(bd_t *bis)
 {
        return omap_mmc_init(0, 0, 0, -1, -1);
 }
 
+#if !defined(CONFIG_SPL_BUILD)
 void board_mmc_power_init(void)
 {
        twl6030_power_mmc_init(0);
 }
 #endif
+#endif
 
 #if defined(CONFIG_CMD_NET)
 
This page took 0.027761 seconds and 4 git commands to generate.