]> git.sur5r.net Git - u-boot/commitdiff
am33xx: Enable gpio0 clock
authorTom Rini <trini@ti.com>
Tue, 31 Jul 2012 14:22:47 +0000 (07:22 -0700)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 12:58:11 +0000 (14:58 +0200)
Signed-off-by: Tom Rini <trini@ti.com>
arch/arm/cpu/armv7/am33xx/clock.c

index e3c4fd89f32e37b72af4a44a9150d5b686104d32..45b4a9fe384b0b3b0d4b4a7e524e32304fcc9d13 100644 (file)
@@ -71,6 +71,10 @@ static void enable_interface_clocks(void)
        writel(PRCM_MOD_EN, &cmper->l4hsclkctrl);
        while (readl(&cmper->l4hsclkctrl) != PRCM_MOD_EN)
                ;
+
+       writel(PRCM_MOD_EN, &cmwkup->wkgpio0clkctrl);
+       while (readl(&cmwkup->wkgpio0clkctrl) != PRCM_MOD_EN)
+               ;
 }
 
 /*