2010-09-18 00:15:11 +08:00
|
|
|
#ifndef MACH_TCC8K_COMMON_H
|
|
|
|
#define MACH_TCC8K_COMMON_H
|
|
|
|
|
2010-09-18 00:17:42 +08:00
|
|
|
struct clk;
|
|
|
|
|
2010-09-18 00:15:11 +08:00
|
|
|
extern void tcc_clocks_init(unsigned long xi_freq, unsigned long xti_freq);
|
2010-09-18 00:17:42 +08:00
|
|
|
extern void tcc8k_timer_init(struct clk *clock, void __iomem *base, int irq);
|
2010-09-18 00:16:29 +08:00
|
|
|
extern void tcc8k_init_irq(void);
|
2010-09-18 00:18:57 +08:00
|
|
|
extern void tcc8k_map_common_io(void);
|
2010-09-18 00:15:11 +08:00
|
|
|
|
|
|
|
#endif
|