summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-omap/am33xx_clock.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-omap/am33xx_clock.c b/arch/arm/mach-omap/am33xx_clock.c
index e63e93601e..0a49038270 100644
--- a/arch/arm/mach-omap/am33xx_clock.c
+++ b/arch/arm/mach-omap/am33xx_clock.c
@@ -142,11 +142,13 @@ void am33xx_enable_per_clocks(void)
__raw_writel(PRCM_MOD_EN, CM_PER_CPSW_CLKSTCTRL);
while ((__raw_readl(CM_PER_CPGMAC0_CLKCTRL) & 0x30000) != 0x0);
- /* MMC 0 & 1 */
+ /* MMC 0, 1 & 2 */
__raw_writel(PRCM_MOD_EN, CM_PER_MMC0_CLKCTRL);
while (__raw_readl(CM_PER_MMC0_CLKCTRL) != PRCM_MOD_EN);
__raw_writel(PRCM_MOD_EN, CM_PER_MMC1_CLKCTRL);
while (__raw_readl(CM_PER_MMC1_CLKCTRL) != PRCM_MOD_EN);
+ __raw_writel(PRCM_MOD_EN, CM_PER_MMC2_CLKCTRL);
+ while (__raw_readl(CM_PER_MMC2_CLKCTRL) != PRCM_MOD_EN);
/* Enable the control module though RBL would have done it*/
__raw_writel(PRCM_MOD_EN, CM_WKUP_CONTROL_CLKCTRL);