]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - include/asm-mips/mach-rc32434/rc32434.h
9df04b72744a195f0b25699e3b050664c0a1f301
[linux-2.6-omap-h63xx.git] / include / asm-mips / mach-rc32434 / rc32434.h
1 /*
2  * Definitions for IDT RC323434 CPU.
3  */
4
5 #ifndef _ASM_RC32434_RC32434_H_
6 #define _ASM_RC32434_RC32434_H_
7
8 #include <linux/delay.h>
9 #include <linux/io.h>
10
11 #define IDT_CLOCK_MULT          2
12
13 /* cpu pipeline flush */
14 static inline void rc32434_sync(void)
15 {
16         __asm__ volatile ("sync");
17 }
18
19 static inline void rc32434_sync_udelay(int us)
20 {
21         __asm__ volatile ("sync");
22         udelay(us);
23 }
24
25 static inline void rc32434_sync_delay(int ms)
26 {
27         __asm__ volatile ("sync");
28         mdelay(ms);
29 }
30
31 #endif  /* _ASM_RC32434_RC32434_H_ */