From d0f76caa10028fbdbff38d8eed9442c85202b37f Mon Sep 17 00:00:00 2001 From: lars Date: Sat, 20 Feb 2010 20:45:00 +0000 Subject: [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 --- target/linux/xburst/files-2.6.32/arch/mips/jz4740/clock.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'target/linux/xburst/files-2.6.32/arch/mips/jz4740/clock.h') 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); -- cgit v1.2.3