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 620423bbc8b3cbc872f1fcb2d4e0f9bc2398ada9..48d886930feba3091547ca4e54e08e9766f26e31 100644 (file)
@@ -330,13 +330,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)
 {