diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2016-02-27 19:18:52 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-03-15 15:11:29 -0400 |
commit | fbf1b08a938fc69643222eeac351c2affdaf6d13 (patch) | |
tree | 2128edc4e16b7737a0c9b6dca80176be0ac4cddf /board/ti/panda | |
parent | a85362fb3e1fc7833723accddbbae431091d06b8 (diff) | |
download | u-boot-fbf1b08a938fc69643222eeac351c2affdaf6d13.zip u-boot-fbf1b08a938fc69643222eeac351c2affdaf6d13.tar.gz u-boot-fbf1b08a938fc69643222eeac351c2affdaf6d13.tar.bz2 |
omap_hsmmc: Board-specific TWL6030 MMC power initialization
Boards using the TWL6030 regulator may not all use the LDOs the same way.
Some might also not use MMC1 at all, so VMMC would't have to be enabled.
This delegates TWL6030 MMC power initializations to board-specific functions,
that may still call twl6030_power_mmc_init for the default behavior.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'board/ti/panda')
-rw-r--r-- | board/ti/panda/panda.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/board/ti/panda/panda.c b/board/ti/panda/panda.c index eb9ce63..959a23f 100644 --- a/board/ti/panda/panda.c +++ b/board/ti/panda/panda.c @@ -11,6 +11,7 @@ #include <asm/arch/clock.h> #include <asm/arch/gpio.h> #include <asm/gpio.h> +#include <twl6030.h> #include "panda_mux_data.h" @@ -291,6 +292,11 @@ int board_mmc_init(bd_t *bis) { return omap_mmc_init(0, 0, 0, -1, -1); } + +void board_mmc_power_init(void) +{ + twl6030_power_mmc_init(0); +} #endif #ifdef CONFIG_USB_EHCI |