projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2aac9c
)
ARM: omap3_beagle: Power on MMC when setting up PMIC
author
Romain Naour
<romain.naour@gmail.com>
Fri, 25 Feb 2022 11:18:32 +0000
(12:18 +0100)
committer
Tom Rini
<trini@konsulko.com>
Thu, 10 Mar 2022 18:49:57 +0000
(13:49 -0500)
The PMIC enables power to the MMC card by default, but depending
on the state it was left when restarted, it's possible the MMC
may be powered down.
This patch patch explicitly tells the twl4030 to power the MMC.
Based on commits [1][2].
[1]
64fd2d26140aa72b43428d079974f7c0e7f88353
[2]
27b653449178e80b333e7bc5a81eed3bd1bd6861
Signed-off-by: Romain Naour <romain.naour@gmail.com>
board/ti/beagle/beagle.c
patch
|
blob
|
history
diff --git
a/board/ti/beagle/beagle.c
b/board/ti/beagle/beagle.c
index
d5a122a
..
847d596
100644
(file)
--- a/
board/ti/beagle/beagle.c
+++ b/
board/ti/beagle/beagle.c
@@
-447,6
+447,8
@@
int misc_init_r(void)
env_set(expansion_config.env_var, expansion_config.env_setting);
twl4030_power_init();
+ twl4030_power_mmc_init(0);
+
switch (get_board_revision()) {
case REVISION_XM_AB:
twl4030_led_init(TWL4030_LED_LEDEN_LEDBON);
@@
-499,10
+501,3
@@
void set_muxconf_regs(void)
{
MUX_BEAGLE();
}
-
-#if defined(CONFIG_MMC)
-void board_mmc_power_init(void)
-{
- twl4030_power_mmc_init(0);
-}
-#endif