X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-arm%2Farch-pxa%2Ftimex.h;h=aa125ec56a32fcb62ce83a65727e24bd4a911083;hb=4e4f43fe003969bdaa246374b90e16708a22ef79;hp=fab199fc334ef909b0c837212b1eeb94e775eb33;hpb=86090fcac5e27b630656fe3d963a6b80e26dac44;p=linux-2.6.git diff --git a/include/asm-arm/arch-pxa/timex.h b/include/asm-arm/arch-pxa/timex.h index fab199fc3..aa125ec56 100644 --- a/include/asm-arm/arch-pxa/timex.h +++ b/include/asm-arm/arch-pxa/timex.h @@ -10,8 +10,16 @@ * published by the Free Software Foundation. */ -/* - * PXA250/210 timer - */ -#define CLOCK_TICK_RATE 3686400 -#define CLOCK_TICK_FACTOR 80 +#include + +#if defined(CONFIG_PXA25x) +/* PXA250/210 timer base */ +#define CLOCK_TICK_RATE 3686400 +#elif defined(CONFIG_PXA27x) +/* PXA27x timer base */ +#ifdef CONFIG_MACH_MAINSTONE +#define CLOCK_TICK_RATE 3249600 +#else +#define CLOCK_TICK_RATE 3250000 +#endif +#endif