summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-11-08 20:55:45 +0100
committerTom Rini <trini@ti.com>2014-12-04 11:04:40 -0500
commit95de9ab201e9c43c8969321711de9e93e444e420 (patch)
treecce448faa986d0ad8c028a78b67e1ebd6250a0b9 /include
parent1e4ad74b875f4da91193afffb0bb0db90ec7b886 (diff)
downloadu-boot-imx-95de9ab201e9c43c8969321711de9e93e444e420.zip
u-boot-imx-95de9ab201e9c43c8969321711de9e93e444e420.tar.gz
u-boot-imx-95de9ab201e9c43c8969321711de9e93e444e420.tar.bz2
mmc: Board-specific MMC power initializations
Some devices may use non-standard combinations of regulators to power MMC: this allows these devices to provide a board-specific MMC power init function to set everything up in their own way. Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/mmc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mmc.h b/include/mmc.h
index d74a190..adffc35 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -385,6 +385,7 @@ struct mmc *mmc_spi_init(uint bus, uint cs, uint speed, uint mode);
int mmc_legacy_init(int verbose);
#endif
+void board_mmc_power_init(void);
int board_mmc_init(bd_t *bis);
int cpu_mmc_init(bd_t *bis);
int mmc_get_env_addr(struct mmc *mmc, int copy, u32 *env_addr);