]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: omap3: evm: Power on MMC when setting up PMIC
authorDerald D. Woods <woods.technical@gmail.com>
Mon, 16 May 2022 03:25:03 +0000 (22:25 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 10 Jun 2022 17:37:32 +0000 (13:37 -0400)
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

index 96434b3ba0f4587c12d4cce48a08b1c9679d8cd3..39b5c706a95a045ff6a9cea0da5207be253ac923 100644 (file)
@@ -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 */