projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
omap3_mmc: Encapsulate twl4030 under option CONFIG_TWL4030_POWER
[platform/kernel/u-boot.git]
/
drivers
/
mmc
/
omap3_mmc.c
diff --git
a/drivers/mmc/omap3_mmc.c
b/drivers/mmc/omap3_mmc.c
index
513dd25
..
96c0e65
100644
(file)
--- a/
drivers/mmc/omap3_mmc.c
+++ b/
drivers/mmc/omap3_mmc.c
@@
-63,7
+63,9
@@
unsigned char mmc_board_init(void)
{
t2_t *t2_base = (t2_t *)T2_BASE;
+#if defined(CONFIG_TWL4030_POWER)
twl4030_power_mmc_init();
+#endif
writel(readl(&t2_base->pbias_lite) | PBIASLITEPWRDNZ1 |
PBIASSPEEDCTRL0 | PBIASLITEPWRDNZ0,