1 #ifndef LINUX_SSB_MIPSCORE_H_
2 #define LINUX_SSB_MIPSCORE_H_
10 struct ssb_serial_port
{
12 unsigned long clockspeed
;
14 unsigned int baud_base
;
15 unsigned int reg_shift
;
20 struct ssb_device
*dev
;
23 struct ssb_serial_port serial_ports
[4];
27 u32 flash_window_size
;
30 extern void ssb_mipscore_init(struct ssb_mipscore
*mcore
);
31 extern u32
ssb_cpu_clock(struct ssb_mipscore
*mcore
);
32 extern unsigned int ssb_mips_irq(struct ssb_device
*dev
);
35 #else /* CONFIG_BCM947XX */
41 void ssb_mipscore_init(struct ssb_mipscore
*mcore
)
45 #endif /* CONFIG_BCM947XX */
47 #endif /* __KERNEL__ */
48 #endif /* LINUX_SSB_MIPSCORE_H_ */