diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2014-11-08 22:55:47 +0300 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-12-05 05:28:15 +0300 |
commit | aac5450ea92abc9109a78cc099d366962148719f (patch) | |
tree | 5a0608bbad849c53e3228da83f8b667be9969a84 /board/timll/devkit8000 | |
parent | f3e85e4825e02fbd21859c35881f639a2c3e7afd (diff) | |
download | u-boot-aac5450ea92abc9109a78cc099d366962148719f.tar.xz |
omap_hsmmc: Board-specific TWL4030 MMC power initializations
Boards using the TWL4030 regulator may not all use the LDOs the same way
(e.g. MMC2 power can be controlled by another LDO than VMMC2).
This delegates TWL4030 MMC power initializations to board-specific functions,
that may still call twl4030_power_mmc_init for the default behavior.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Reviewed-by: Tom Rini <trini@ti.com>
[trini: Fix omap3_evm warning, add twl4030.h]
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'board/timll/devkit8000')
-rw-r--r-- | board/timll/devkit8000/devkit8000.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/timll/devkit8000/devkit8000.c b/board/timll/devkit8000/devkit8000.c index bcbee73d5d..b978044131 100644 --- a/board/timll/devkit8000/devkit8000.c +++ b/board/timll/devkit8000/devkit8000.c @@ -124,6 +124,13 @@ int board_mmc_init(bd_t *bis) } #endif +#if defined(CONFIG_GENERIC_MMC) +void board_mmc_power_init(void) +{ + twl4030_power_mmc_init(0); +} +#endif + #if defined(CONFIG_DRIVER_DM9000) & !defined(CONFIG_SPL_BUILD) /* * Routine: board_eth_init |