diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2015-08-17 07:59:50 (GMT) |
---|---|---|
committer | Jagan Teki <jteki@openedev.com> | 2015-08-17 17:59:14 (GMT) |
commit | fca45722fbb0ef0b216efa8ad053a3c1cab44972 (patch) | |
tree | 1b123936f2df4dabe2eed8681d6b92c97735db46 /arch/arm/include | |
parent | 7dd0174467a2a1fc99d7dc19b11bbadc80f9c740 (diff) | |
download | u-boot-fca45722fbb0ef0b216efa8ad053a3c1cab44972.tar.xz |
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>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/arch-am33xx/clock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-am33xx/clock.h b/arch/arm/include/asm/arch-am33xx/clock.h index 4af6b57..a6d2419 100644 --- a/arch/arm/include/asm/arch-am33xx/clock.h +++ b/arch/arm/include/asm/arch-am33xx/clock.h @@ -112,5 +112,6 @@ void do_setup_dpll(const struct dpll_regs *, const struct dpll_params *); void prcm_init(void); void enable_basic_clocks(void); void do_enable_clocks(u32 *const *, u32 *const *, u8); +void do_disable_clocks(u32 *const *, u32 *const *, u8); #endif |