diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-02-20 20:45:00 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2010-02-20 20:45:00 +0000 |
commit | b55636bb42025579c114ee09089423378c117704 (patch) | |
tree | b2bbef75a47aa0256c9494968b84acd17ed9870b /target/linux/xburst/files-2.6.32/arch/mips/jz4740/clock.h | |
parent | f636d6a3cf4bc93ca0293855037cbef08431eaec (diff) | |
download | upstream-b55636bb42025579c114ee09089423378c117704.tar.gz upstream-b55636bb42025579c114ee09089423378c117704.tar.bz2 upstream-b55636bb42025579c114ee09089423378c117704.zip |
[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 88ce07d16d..e0fd9ece5d 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); |