diff options
author | lars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-02-20 20:45:00 +0000 |
---|---|---|
committer | lars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-02-20 20:45:00 +0000 |
commit | d0f76caa10028fbdbff38d8eed9442c85202b37f (patch) | |
tree | b2bbef75a47aa0256c9494968b84acd17ed9870b /target/linux/xburst/files-2.6.32/arch/mips/jz4740/clock.h | |
parent | 9380739d16fa8406e84aaf0ed3d85855c00a5321 (diff) |
[xburst] Add per board struct describing the external clock setup.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19783 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/xburst/files-2.6.32/arch/mips/jz4740/clock.h')
-rw-r--r-- | target/linux/xburst/files-2.6.32/arch/mips/jz4740/clock.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/xburst/files-2.6.32/arch/mips/jz4740/clock.h b/target/linux/xburst/files-2.6.32/arch/mips/jz4740/clock.h index 88ce07d16..e0fd9ece5 100644 --- a/target/linux/xburst/files-2.6.32/arch/mips/jz4740/clock.h +++ b/target/linux/xburst/files-2.6.32/arch/mips/jz4740/clock.h @@ -16,6 +16,17 @@ #ifndef __JZ4740_CLOCK_H__ #define __JZ4740_CLOCK_H__ +struct jz4740_clock_board_data { + unsigned long ext_rate; + unsigned long rtc_rate; +}; + +extern struct jz4740_clock_board_data jz4740_clock_bdata; + +int jz_init_clocks(void); + +struct clk; + struct clk_ops { unsigned long (*get_rate)(struct clk* clk); unsigned long (*round_rate)(struct clk *clk, unsigned long rate); |