1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[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
This commit is contained in:
lars
2010-02-20 20:45:00 +00:00
parent 9380739d16
commit d0f76caa10
10 changed files with 47 additions and 55 deletions

View File

@@ -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);