ARM: AM43xx: Add support for disabling clocks in uboot
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 17 Aug 2015 07:59:50 +0000 (13:29 +0530)
committerJagan Teki <jteki@openedev.com>
Mon, 17 Aug 2015 17:59:14 +0000 (23:29 +0530)
commitfca45722fbb0ef0b216efa8ad053a3c1cab44972
tree1b123936f2df4dabe2eed8681d6b92c97735db46
parent7dd0174467a2a1fc99d7dc19b11bbadc80f9c740
ARM: AM43xx: Add support for disabling clocks in uboot

Add do_disable_clocks() to disable clock domains and module clocks.
These clocks are enabled using do_enable_clocks().

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
arch/arm/cpu/armv7/am33xx/clock.c
arch/arm/include/asm/arch-am33xx/clock.h