Hans J. Koch | da15797 | 2010-09-17 18:15:11 +0200 | [diff] [blame] | 1 | #ifndef MACH_TCC8K_COMMON_H |
| 2 | #define MACH_TCC8K_COMMON_H |
| 3 | |
Hans J. Koch | 026cec6 | 2010-09-17 18:20:11 +0200 | [diff] [blame] | 4 | #include <linux/platform_device.h> |
| 5 | |
| 6 | extern struct platform_device tcc_nand_device; |
| 7 | |
Hans J. Koch | 3de7b51 | 2010-09-17 18:17:42 +0200 | [diff] [blame] | 8 | struct clk; |
| 9 | |
Hans J. Koch | da15797 | 2010-09-17 18:15:11 +0200 | [diff] [blame] | 10 | extern void tcc_clocks_init(unsigned long xi_freq, unsigned long xti_freq); |
Hans J. Koch | 3de7b51 | 2010-09-17 18:17:42 +0200 | [diff] [blame] | 11 | extern void tcc8k_timer_init(struct clk *clock, void __iomem *base, int irq); |
Hans J. Koch | e9268ef | 2010-09-17 18:16:29 +0200 | [diff] [blame] | 12 | extern void tcc8k_init_irq(void); |
Hans J. Koch | 8a41fa3 | 2010-09-17 18:18:57 +0200 | [diff] [blame] | 13 | extern void tcc8k_map_common_io(void); |
Hans J. Koch | da15797 | 2010-09-17 18:15:11 +0200 | [diff] [blame] | 14 | |
| 15 | #endif |