diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2015-08-17 13:29:51 +0530 |
---|---|---|
committer | Jagan Teki <jteki@openedev.com> | 2015-08-17 23:29:14 +0530 |
commit | 16ca1d09e62d7d3d71f48313428cf7cf026fa177 (patch) | |
tree | a6436c4360f84000620f03ba32db22255732595f /arch/arm/include | |
parent | fca45722fbb0ef0b216efa8ad053a3c1cab44972 (diff) | |
download | u-boot-imx-16ca1d09e62d7d3d71f48313428cf7cf026fa177.zip u-boot-imx-16ca1d09e62d7d3d71f48313428cf7cf026fa177.tar.gz u-boot-imx-16ca1d09e62d7d3d71f48313428cf7cf026fa177.tar.bz2 |
ARM: OMAP5: 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/omap_common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/omap_common.h b/arch/arm/include/asm/omap_common.h index 056affc..87cdaad 100644 --- a/arch/arm/include/asm/omap_common.h +++ b/arch/arm/include/asm/omap_common.h @@ -575,6 +575,10 @@ void do_enable_clocks(u32 const *clk_domains, u32 const *clk_modules_explicit_en, u8 wait_for_enable); +void do_disable_clocks(u32 const *clk_domains, + u32 const *clk_modules_disable, + u8 wait_for_disable); + void setup_post_dividers(u32 const base, const struct dpll_params *params); u32 omap_ddr_clk(void); |