Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Kumar Gala | 4c88289 | 2009-02-05 20:40:57 -0600 | [diff] [blame] | 2 | /* |
| 3 | * Copyright 2009 Freescale Semiconductor, Inc. |
Kumar Gala | 4c88289 | 2009-02-05 20:40:57 -0600 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef _ASM_CONFIG_H_ |
| 7 | #define _ASM_CONFIG_H_ |
| 8 | |
Marek Vasut | 4131670 | 2018-08-24 21:52:53 +0200 | [diff] [blame] | 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 | |
Kumar Gala | 4c88289 | 2009-02-05 20:40:57 -0600 | [diff] [blame] | 18 | #endif |