common.h 389 B

123456789101112131415
  1. #ifndef MACH_TCC8K_COMMON_H
  2. #define MACH_TCC8K_COMMON_H
  3. #include <linux/platform_device.h>
  4. extern struct platform_device tcc_nand_device;
  5. struct clk;
  6. extern void tcc_clocks_init(unsigned long xi_freq, unsigned long xti_freq);
  7. extern void tcc8k_timer_init(struct clk *clock, void __iomem *base, int irq);
  8. extern void tcc8k_init_irq(void);
  9. extern void tcc8k_map_common_io(void);
  10. #endif