mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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>
This commit is contained in:
parent
fca45722fb
commit
16ca1d09e6
2 changed files with 57 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue