timex.h 759 B

1234567891011121314151617181920212223
  1. /*
  2. * DaVinci timer defines
  3. *
  4. * Author: Kevin Hilman, MontaVista Software, Inc. <source@mvista.com>
  5. *
  6. * 2007 (c) MontaVista Software, Inc. This file is licensed under
  7. * the terms of the GNU General Public License version 2. This program
  8. * is licensed "as is" without any warranty of any kind, whether express
  9. * or implied.
  10. */
  11. #ifndef __ASM_ARCH_TIMEX_H
  12. #define __ASM_ARCH_TIMEX_H
  13. /*
  14. * Alert: Not all timers of the DaVinci family run at a frequency of 27MHz,
  15. * but we should be fine as long as CLOCK_TICK_RATE or LATCH (see include/
  16. * linux/jiffies.h) are not used directly in code. Currently none of the
  17. * code relevant to DaVinci platform depends on these values directly.
  18. */
  19. #define CLOCK_TICK_RATE 27000000
  20. #endif /* __ASM_ARCH_TIMEX_H__ */