config.h 347 B

12345678910111213141516
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright 2009 Freescale Semiconductor, Inc.
  4. */
  5. #ifndef _ASM_CONFIG_H_
  6. #define _ASM_CONFIG_H_
  7. #include <asm/processor.h>
  8. /* Timer */
  9. #define CONFIG_SYS_TIMER_COUNTS_DOWN
  10. #define CONFIG_SYS_TIMER_COUNTER (TMU_BASE + 0xc) /* TCNT0 */
  11. #define CONFIG_SYS_TIMER_RATE (CONFIG_SYS_CLK_FREQ / 4)
  12. #endif