Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Kumar Gala | 47d41cc | 2009-02-05 20:40:57 -0600 | [diff] [blame] | 2 | /* |
| 3 | * Copyright 2009 Freescale Semiconductor, Inc. |
Kumar Gala | 47d41cc | 2009-02-05 20:40:57 -0600 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef _ASM_CONFIG_H_ |
| 7 | #define _ASM_CONFIG_H_ |
| 8 | |
Marek Vasut | 0e286c5 | 2018-08-24 21:52:53 +0200 | [diff] [blame] | 9 | #include <asm/processor.h> |
| 10 | |
Marek Vasut | 8c2c463 | 2019-08-31 18:27:58 +0200 | [diff] [blame] | 11 | #define CONFIG_LMB |
| 12 | |
Marek Vasut | 0e286c5 | 2018-08-24 21:52:53 +0200 | [diff] [blame] | 13 | /* Timer */ |
| 14 | #define CONFIG_SYS_TIMER_COUNTS_DOWN |
Marek Vasut | 6756762 | 2019-08-31 17:33:06 +0200 | [diff] [blame] | 15 | #define CONFIG_SYS_TIMER_COUNTER (TMU_BASE + 0xc) /* TCNT0 */ |
Marek Vasut | 0e286c5 | 2018-08-24 21:52:53 +0200 | [diff] [blame] | 16 | #define CONFIG_SYS_TIMER_RATE (CONFIG_SYS_CLK_FREQ / 4) |
Marek Vasut | 0e286c5 | 2018-08-24 21:52:53 +0200 | [diff] [blame] | 17 | |
Kumar Gala | 47d41cc | 2009-02-05 20:40:57 -0600 | [diff] [blame] | 18 | #endif |