fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / include / asm-arm / arch-pxa / timex.h
index fab199f..2473bb5 100644 (file)
  * published by the Free Software Foundation.
  */
 
-/*
- * PXA250/210 timer
- */
-#define CLOCK_TICK_RATE                3686400
-#define CLOCK_TICK_FACTOR      80
+
+#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