From: Tom Rini Date: Tue, 31 Jul 2012 14:22:47 +0000 (-0700) Subject: am33xx: Enable gpio0 clock X-Git-Tag: v2012.10-rc1~323 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a438c756b65278b9b8970971c1838d4143913b22;p=u-boot am33xx: Enable gpio0 clock Signed-off-by: Tom Rini --- diff --git a/arch/arm/cpu/armv7/am33xx/clock.c b/arch/arm/cpu/armv7/am33xx/clock.c index e3c4fd89f3..45b4a9fe38 100644 --- a/arch/arm/cpu/armv7/am33xx/clock.c +++ b/arch/arm/cpu/armv7/am33xx/clock.c @@ -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) + ; } /*