blob: 705690add395badcb0e397769ab5d472d4aba8ed [file] [log] [blame]
Hans J. Kochda157972010-09-17 18:15:11 +02001#ifndef MACH_TCC8K_COMMON_H
2#define MACH_TCC8K_COMMON_H
3
Hans J. Koch026cec62010-09-17 18:20:11 +02004#include <linux/platform_device.h>
5
6extern struct platform_device tcc_nand_device;
7
Hans J. Koch3de7b512010-09-17 18:17:42 +02008struct clk;
9
Hans J. Kochda157972010-09-17 18:15:11 +020010extern void tcc_clocks_init(unsigned long xi_freq, unsigned long xti_freq);
Hans J. Koch3de7b512010-09-17 18:17:42 +020011extern void tcc8k_timer_init(struct clk *clock, void __iomem *base, int irq);
Hans J. Koche9268ef2010-09-17 18:16:29 +020012extern void tcc8k_init_irq(void);
Hans J. Koch8a41fa32010-09-17 18:18:57 +020013extern void tcc8k_map_common_io(void);
Hans J. Kochda157972010-09-17 18:15:11 +020014
15#endif