Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * linux/include/asm-arm/arch-iop3xx/timex.h |
| 3 | * |
| 4 | * IOP3xx architecture timex specifications |
| 5 | */ |
Adam Brooks | 3238c44 | 2005-11-23 22:45:27 +0000 | [diff] [blame] | 6 | #include <asm/hardware.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | |
| 8 | #if defined(CONFIG_ARCH_IQ80321) || defined(CONFIG_ARCH_IQ31244) |
| 9 | |
| 10 | #define CLOCK_TICK_RATE IOP321_TICK_RATE |
| 11 | |
| 12 | #elif defined(CONFIG_ARCH_IQ80331) || defined(CONFIG_MACH_IQ80332) |
| 13 | |
| 14 | #define CLOCK_TICK_RATE IOP331_TICK_RATE |
| 15 | |
| 16 | #else |
| 17 | |
| 18 | #error "No IOP3xx timex information for this architecture" |
| 19 | |
| 20 | #endif |