timex.h 586 B

123456789101112131415161718192021222324
  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. #if defined(CONFIG_PXA25x)
  13. /* PXA250/210 timer base */
  14. #define CLOCK_TICK_RATE 3686400
  15. #elif defined(CONFIG_PXA27x)
  16. /* PXA27x timer base */
  17. #ifdef CONFIG_MACH_MAINSTONE
  18. #define CLOCK_TICK_RATE 3249600
  19. #else
  20. #define CLOCK_TICK_RATE 3250000
  21. #endif
  22. #endif