]> git.sur5r.net Git - u-boot/blob - arch/arm/include/asm/arch-pxa/config.h
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / arch / arm / include / asm / arch-pxa / config.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2014 Andrew Ruder <andrew.ruder@elecsyscorp.com>
4  */
5
6 #ifndef _ASM_ARM_PXA_CONFIG_
7 #define _ASM_ARM_PXA_CONFIG_
8
9 #include <asm/arch/pxa-regs.h>
10
11 /*
12  * Generic timer support
13  */
14 #if defined(CONFIG_CPU_PXA27X) || defined(CONFIG_CPU_MONAHANS)
15 #define CONFIG_SYS_TIMER_RATE   3250000
16 #elif defined(CONFIG_CPU_PXA25X)
17 #define CONFIG_SYS_TIMER_RATE   3686400
18 #else
19 #error "Timer frequency unknown - please config PXA CPU type"
20 #endif
21
22 #define CONFIG_SYS_TIMER_COUNTER        OSCR
23
24 #endif /* _ASM_ARM_PXA_CONFIG_ */