]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 888a958491908e3c0e1ec6046fc2120b13ef472c..d5a122af2bf421a89848e1d28e561437ea94460f 100644 (file)
@@ -500,13 +500,6 @@ void set_muxconf_regs(void)
        MUX_BEAGLE();
 }
 
-#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)
 {