diff options
author | Hans J. Koch <hjk@linutronix.de> | 2010-09-17 16:17:42 (GMT) |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-09-17 19:55:08 (GMT) |
commit | 3de7b517dfacf1deb0690dbac28f917643e49975 (patch) | |
tree | 77548d323cef82e380f354f98132dc779aee0919 /arch/arm/plat-tcc | |
parent | e9268ef2252c2dfc7e2d0c435826768bb0e549ea (diff) | |
download | linux-3de7b517dfacf1deb0690dbac28f917643e49975.tar.xz |
ARM: Add TCC8xxx system timer
Add the system timer using clockevents with the internal TC32 timer.
This also adds a clocksource using the same timer.
Signed-off-by: "Hans J. Koch" <hjk@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/arm/plat-tcc')
-rw-r--r-- | arch/arm/plat-tcc/include/mach/timex.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/plat-tcc/include/mach/timex.h b/arch/arm/plat-tcc/include/mach/timex.h new file mode 100644 index 0000000..057acbe --- /dev/null +++ b/arch/arm/plat-tcc/include/mach/timex.h @@ -0,0 +1,5 @@ +/* + * A definition needed by arch core code. + * + */ +#define CLOCK_TICK_RATE (HZ * 100000UL) |