1 #ifndef LINUX_SSB_MIPSCORE_H_
2 #define LINUX_SSB_MIPSCORE_H_
4 #ifdef CONFIG_SSB_DRIVER_MIPS
8 struct ssb_serial_port {
10 unsigned long clockspeed;
12 unsigned int baud_base;
13 unsigned int reg_shift;
18 struct ssb_device *dev;
21 struct ssb_serial_port serial_ports[4];
25 u32 flash_window_size;
28 extern void ssb_mipscore_init(struct ssb_mipscore *mcore);
29 extern u32 ssb_cpu_clock(struct ssb_mipscore *mcore);
31 extern unsigned int ssb_mips_irq(struct ssb_device *dev);
34 #else /* CONFIG_SSB_DRIVER_MIPS */
40 void ssb_mipscore_init(struct ssb_mipscore *mcore)
44 #endif /* CONFIG_SSB_DRIVER_MIPS */
46 #endif /* LINUX_SSB_MIPSCORE_H_ */