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