Skip to content
Snippets Groups Projects
Commit 7c15121f authored by Vaibhav Hiremath's avatar Vaibhav Hiremath Committed by Tom Rix
Browse files

omap3_mmc: Encapsulate twl4030 under option CONFIG_TWL4030_POWER


Fixes the build/compilation error if we try to re-use the omap3_mmc code
without TWL4030_POWER.

Signed-off-by: default avatarVaibhav Hiremath <hvaibhav@ti.com>
parent 6406d6da
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment