forked from luck/tmp_suning_uos_patched
3de7b517df
Add the system timer using clockevents with the internal TC32 timer. This also adds a clocksource using the same timer. Signed-off-by: "Hans J. Koch" <hjk@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
11 lines
266 B
C
11 lines
266 B
C
#ifndef MACH_TCC8K_COMMON_H
|
|
#define MACH_TCC8K_COMMON_H
|
|
|
|
struct clk;
|
|
|
|
extern void tcc_clocks_init(unsigned long xi_freq, unsigned long xti_freq);
|
|
extern void tcc8k_timer_init(struct clk *clock, void __iomem *base, int irq);
|
|
extern void tcc8k_init_irq(void);
|
|
|
|
#endif
|