summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-07-31 07:22:47 -0700
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-09-01 14:58:11 +0200
commita438c756b65278b9b8970971c1838d4143913b22 (patch)
treefddb81007659f5ce6eb340450334d2f231408590 /arch/arm
parentd271a6114177ca9c80cc9676773f49a050e13381 (diff)
downloadu-boot-imx-a438c756b65278b9b8970971c1838d4143913b22.zip
u-boot-imx-a438c756b65278b9b8970971c1838d4143913b22.tar.gz
u-boot-imx-a438c756b65278b9b8970971c1838d4143913b22.tar.bz2
am33xx: Enable gpio0 clock
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/cpu/armv7/am33xx/clock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/am33xx/clock.c b/arch/arm/cpu/armv7/am33xx/clock.c
index e3c4fd8..45b4a9f 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)
+ ;
}
/*