ARM: omap3_logic: Remove non-DM MMC initialization
authorAdam Ford <aford173@gmail.com>
Wed, 12 Sep 2018 03:15:05 +0000 (22:15 -0500)
committerTom Rini <trini@konsulko.com>
Sat, 29 Sep 2018 12:07:28 +0000 (08:07 -0400)
With DM_MMC working for both SPL and U-Boot, this patch removes
the legacy style of initializing the MMC driver.

Signed-off-by: Adam Ford <aford173@gmail.com>
board/logicpd/omap3som/omap3logic.c

index 620423b..48d8869 100644 (file)
@@ -331,13 +331,6 @@ int board_late_init(void)
 #endif
 
 #if defined(CONFIG_MMC)
-int board_mmc_init(bd_t *bis)
-{
-       return omap_mmc_init(0, 0, 0, -1, -1);
-}
-#endif
-
-#if defined(CONFIG_MMC)
 void board_mmc_power_init(void)
 {
        twl4030_power_mmc_init(0);