aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-pxa/timex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/arch-pxa/timex.h')
-rw-r--r--include/asm-arm/arch-pxa/timex.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/asm-arm/arch-pxa/timex.h b/include/asm-arm/arch-pxa/timex.h
new file mode 100644
index 000000000000..aa125ec56a32
--- /dev/null
+++ b/include/asm-arm/arch-pxa/timex.h
@@ -0,0 +1,25 @@
1/*
2 * linux/include/asm-arm/arch-pxa/timex.h
3 *
4 * Author: Nicolas Pitre
5 * Created: Jun 15, 2001
6 * Copyright: MontaVista Software Inc.
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */
12
13#include <linux/config.h>
14
15#if defined(CONFIG_PXA25x)
16/* PXA250/210 timer base */
17#define CLOCK_TICK_RATE 3686400
18#elif defined(CONFIG_PXA27x)
19/* PXA27x timer base */
20#ifdef CONFIG_MACH_MAINSTONE
21#define CLOCK_TICK_RATE 3249600
22#else
23#define CLOCK_TICK_RATE 3250000
24#endif
25#endif