diff mbox series

[1/4] ARM: omap3_beagle: Remove non-DM initialization

Message ID 20220225111834.231005-1-romain.naour@gmail.com
State Accepted
Commit b2aac9c622acb304d7362a7a45d23b45d98b21f5
Delegated to: Tom Rini
Headers show
Series [1/4] ARM: omap3_beagle: Remove non-DM initialization | expand

Commit Message

Romain Naour Feb. 25, 2022, 11:18 a.m. UTC
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 | 7 -------
 1 file changed, 7 deletions(-)

Comments

Tom Rini March 14, 2022, 1:07 p.m. UTC | #1
On Fri, Feb 25, 2022 at 12:18:31PM +0100, Romain Naour wrote:

> 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>

Applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
index 888a958491..d5a122af2b 100644
--- a/board/ti/beagle/beagle.c
+++ b/board/ti/beagle/beagle.c
@@ -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)
 {