kernel_optimize_test/arch/arm/mach-tcc8k/common.h
Hans J. Koch 3de7b517df ARM: Add TCC8xxx system timer
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>
2010-09-17 21:55:08 +02:00

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