diff options
author | Aneesh V <aneesh@ti.com> | 2011-07-21 09:10:07 -0400 |
---|---|---|
committer | U-Boot <uboot@aari01-12.(none)> | 2011-08-03 12:49:19 +0200 |
commit | 3776801d0ae4c147cba3110f71441edefe46a02c (patch) | |
tree | f1969ec11c1a95b8825106c60a744790b96db77c /arch/arm/include/asm/arch-omap4/sys_proto.h | |
parent | ad577c8a487ac0ab277540f5fe2ea654d98d8e9f (diff) | |
download | blackbird-obmc-uboot-3776801d0ae4c147cba3110f71441edefe46a02c.tar.gz blackbird-obmc-uboot-3776801d0ae4c147cba3110f71441edefe46a02c.zip |
omap4: add clock support
Add support for:
1. DPLL locking
2. Initialization of clock domains and clock modules
3. Setting up the right voltage on voltage rails
This work draws upon previous work done for x-loader by:
Santosh Shilimkar <santosh.shilimkar@ti.com>
Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Aneesh V <aneesh@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'arch/arm/include/asm/arch-omap4/sys_proto.h')
-rw-r--r-- | arch/arm/include/asm/arch-omap4/sys_proto.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-omap4/sys_proto.h b/arch/arm/include/asm/arch-omap4/sys_proto.h index c10fa18700..f871921d4a 100644 --- a/arch/arm/include/asm/arch-omap4/sys_proto.h +++ b/arch/arm/include/asm/arch-omap4/sys_proto.h @@ -22,6 +22,7 @@ #define _SYS_PROTO_H_ #include <asm/arch/omap4.h> +#include <asm/arch/clocks.h> #include <asm/io.h> #include <asm/omap_common.h> #include <asm/arch/mux_omap4.h> @@ -31,6 +32,8 @@ struct omap_sysinfo { }; extern const struct omap_sysinfo sysinfo; +extern struct omap4_prcm_regs *const prcm; + void gpmc_init(void); void watchdog_init(void); u32 get_device_type(void); @@ -41,6 +44,11 @@ u32 wait_on_value(u32, u32, void *, u32); void sdelay(unsigned long); void set_pl310_ctrl_reg(u32 val); void omap_rev_string(char *omap4_rev_string); +void prcm_init(void); +void bypass_dpll(u32 *const base); +void freq_update_core(void); +u32 get_sys_clk_freq(void); +u32 omap4_ddr_clk(void); static inline u32 running_from_sdram(void) { |