xref: /openbmc/u-boot/arch/sh/include/asm/config.h (revision 25fde1c0)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright 2009 Freescale Semiconductor, Inc.
4  */
5 
6 #ifndef _ASM_CONFIG_H_
7 #define _ASM_CONFIG_H_
8 
9 #if !defined(CONFIG_CPU_SH2)
10 #include <asm/processor.h>
11 
12 /* Timer */
13 #define CONFIG_SYS_TIMER_COUNTS_DOWN
14 #define CONFIG_SYS_TIMER_COUNTER	(TMU_BASE + 0x8)	/* TCNT0 */
15 #define CONFIG_SYS_TIMER_RATE		(CONFIG_SYS_CLK_FREQ / 4)
16 #endif
17 
18 #endif
19