2010-09-17 23:15:11 +07:00
|
|
|
#ifndef MACH_TCC8K_COMMON_H
|
|
|
|
#define MACH_TCC8K_COMMON_H
|
|
|
|
|
2010-09-17 23:20:11 +07:00
|
|
|
#include <linux/platform_device.h>
|
|
|
|
|
|
|
|
extern struct platform_device tcc_nand_device;
|
|
|
|
|
2010-09-17 23:17:42 +07:00
|
|
|
struct clk;
|
|
|
|
|
2010-09-17 23:15:11 +07:00
|
|
|
extern void tcc_clocks_init(unsigned long xi_freq, unsigned long xti_freq);
|
2010-09-17 23:17:42 +07:00
|
|
|
extern void tcc8k_timer_init(struct clk *clock, void __iomem *base, int irq);
|
2010-09-17 23:16:29 +07:00
|
|
|
extern void tcc8k_init_irq(void);
|
2010-09-17 23:18:57 +07:00
|
|
|
extern void tcc8k_map_common_io(void);
|
2010-09-17 23:15:11 +07:00
|
|
|
|
|
|
|
#endif
|