summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-at91/timex.h
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2007-06-04 06:45:38 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-07-12 11:11:21 +0100
commit70672224009bc3d4d6713337b3456bc7ab71d52b (patch)
tree3a2e0bca862e32075fed5310580a9cdd74a740ab /include/asm-arm/arch-at91/timex.h
parentb54942f8203689014f80ec89c55ccb1f48ab1166 (diff)
[ARM] 4427/1: base Atmel at91x40 architecture defines
Base at91x40 architecture support defines. These parts are somewhat simpler than the ARM9 Atmel based parts. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Acked-by: Andrew Victor <andrew@sanpeople.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-at91/timex.h')
-rw-r--r--include/asm-arm/arch-at91/timex.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-arm/arch-at91/timex.h b/include/asm-arm/arch-at91/timex.h
index 2df1ee12dfb..a310698fb4d 100644
--- a/include/asm-arm/arch-at91/timex.h
+++ b/include/asm-arm/arch-at91/timex.h
@@ -42,6 +42,11 @@
#define AT91SAM9_MASTER_CLOCK 100000000
#define CLOCK_TICK_RATE (AT91SAM9_MASTER_CLOCK/16)
+#elif defined(CONFIG_ARCH_AT91X40)
+
+#define AT91X40_MASTER_CLOCK 40000000
+#define CLOCK_TICK_RATE (AT91X40_MASTER_CLOCK)
+
#endif
#endif