aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-iop3xx/timex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/arch-iop3xx/timex.h')
-rw-r--r--include/asm-arm/arch-iop3xx/timex.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/asm-arm/arch-iop3xx/timex.h b/include/asm-arm/arch-iop3xx/timex.h
new file mode 100644
index 000000000000..d4187fe9a85a
--- /dev/null
+++ b/include/asm-arm/arch-iop3xx/timex.h
@@ -0,0 +1,21 @@
1/*
2 * linux/include/asm-arm/arch-iop3xx/timex.h
3 *
4 * IOP3xx architecture timex specifications
5 */
6#include <linux/config.h>
7
8
9#if defined(CONFIG_ARCH_IQ80321) || defined(CONFIG_ARCH_IQ31244)
10
11#define CLOCK_TICK_RATE IOP321_TICK_RATE
12
13#elif defined(CONFIG_ARCH_IQ80331) || defined(CONFIG_MACH_IQ80332)
14
15#define CLOCK_TICK_RATE IOP331_TICK_RATE
16
17#else
18
19#error "No IOP3xx timex information for this architecture"
20
21#endif