ARM: omap3_beagle: Remove non-DM initialization
authorRomain Naour <romain.naour@gmail.com>
Fri, 25 Feb 2022 11:18:31 +0000 (12:18 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 10 Mar 2022 18:49:57 +0000 (13:49 -0500)
With DM_MMC working for both SPL and U-Boot, this patch removes
the legacy style of initializing the MMC driver.

Based on omap3_logic: 42140dd0962bc134c0aad27524d0f4cc3955f255.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
board/ti/beagle/beagle.c

index 888a958..d5a122a 100644 (file)
@@ -501,13 +501,6 @@ void set_muxconf_regs(void)
 }
 
 #if defined(CONFIG_MMC)
-int board_mmc_init(struct bd_info *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);