summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-iop3xx/timex.h
blob: 472badb451c4d6c1652302d9249230666a73f366 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * linux/include/asm-arm/arch-iop3xx/timex.h
 *
 * IOP3xx architecture timex specifications
 */
#include <linux/config.h>
#include <asm/hardware.h>

#if defined(CONFIG_ARCH_IQ80321) || defined(CONFIG_ARCH_IQ31244)

#define CLOCK_TICK_RATE IOP321_TICK_RATE

#elif defined(CONFIG_ARCH_IQ80331) || defined(CONFIG_MACH_IQ80332)

#define CLOCK_TICK_RATE IOP331_TICK_RATE

#else

#error "No IOP3xx timex information for this architecture"

#endif