2018-05-06 17:58:06 -04:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2009-02-05 20:40:57 -06:00
|
|
|
/*
|
|
|
|
|
* Copyright 2009 Freescale Semiconductor, Inc.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef _ASM_CONFIG_H_
|
|
|
|
|
#define _ASM_CONFIG_H_
|
|
|
|
|
|
2018-08-24 21:52:53 +02:00
|
|
|
#include <asm/processor.h>
|
|
|
|
|
|
|
|
|
|
/* Timer */
|
|
|
|
|
#define CONFIG_SYS_TIMER_COUNTS_DOWN
|
2019-08-31 17:33:06 +02:00
|
|
|
#define CONFIG_SYS_TIMER_COUNTER (TMU_BASE + 0xc) /* TCNT0 */
|
2018-08-24 21:52:53 +02:00
|
|
|
#define CONFIG_SYS_TIMER_RATE (CONFIG_SYS_CLK_FREQ / 4)
|
|
|
|
|
|
2009-02-05 20:40:57 -06:00
|
|
|
#endif
|