ti: boot: Register the MMC controllers in SPL in the same way as in u-boot
[platform/kernel/u-boot.git] / board / technexion / tao3530 / tao3530.c
index 44a8240..cba48d4 100644 (file)
@@ -160,7 +160,7 @@ int misc_init_r(void)
                puts("Unknown board revision\n");
        }
 
-       dieid_num_r();
+       omap_die_id_display();
 
        return 0;
 }
@@ -179,7 +179,7 @@ void set_muxconf_regs(void)
 #endif
 }
 
-#if defined(CONFIG_GENERIC_MMC) && !defined(CONFIG_SPL_BUILD)
+#if defined(CONFIG_GENERIC_MMC)
 int board_mmc_init(bd_t *bis)
 {
        omap_mmc_init(0, 0, 0, -1, -1);
@@ -188,6 +188,13 @@ int board_mmc_init(bd_t *bis)
 }
 #endif
 
+#if defined(CONFIG_GENERIC_MMC)
+void board_mmc_power_init(void)
+{
+       twl4030_power_mmc_init(0);
+}
+#endif
+
 #if defined(CONFIG_USB_EHCI) && !defined(CONFIG_SPL_BUILD)
 /* Call usb_stop() before starting the kernel */
 void show_boot_progress(int val)