diff mbox series

[1/3] ARM: omap3: evm: Power on MMC when setting up PMIC

Message ID 20220516032505.183211-2-woods.technical@gmail.com
State Accepted
Commit 161535444bd8b505d8b1ec16bb7a3389136b6555
Delegated to: Tom Rini
Headers show
Series Updates for omap3-evm | expand

Commit Message

Derald Woods May 16, 2022, 3:25 a.m. UTC
This commit copies the related code changes from the BeagleBoard.

Reference:
- https://source.denx.de/u-boot/u-boot/-/commit/848cfe098f59c47a2542385513fb554430b874d6

Signed-off-by: Derald D. Woods <woods.technical@gmail.com>
---
 board/ti/evm/evm.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

Comments

Tom Rini June 10, 2022, 9:39 p.m. UTC | #1
On Sun, May 15, 2022 at 10:25:03PM -0500, Derald D. Woods wrote:

> This commit copies the related code changes from the BeagleBoard.
> 
> Reference:
> - https://source.denx.de/u-boot/u-boot/-/commit/848cfe098f59c47a2542385513fb554430b874d6
> 
> Signed-off-by: Derald D. Woods <woods.technical@gmail.com>

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

Patch

diff --git a/board/ti/evm/evm.c b/board/ti/evm/evm.c
index 96434b3ba0..39b5c706a9 100644
--- a/board/ti/evm/evm.c
+++ b/board/ti/evm/evm.c
@@ -159,6 +159,7 @@  void get_board_mem_timings(struct board_sdrc_timings *timings)
 int misc_init_r(void)
 {
 	twl4030_power_init();
+	twl4030_power_mmc_init(0);
 
 #if defined(CONFIG_SMC911X)
 	setup_net_chip();
@@ -247,10 +248,3 @@  static void reset_net_chip(void)
 	gpio_set_value(rst_gpio, 1);
 }
 #endif /* CONFIG_SMC911X */
-
-#if defined(CONFIG_MMC)
-void board_mmc_power_init(void)
-{
-	twl4030_power_mmc_init(0);
-}
-#endif /* CONFIG_MMC */