projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
arm: set cntfrq_el0 if CONFIG_COUNTER_FREQUENCY is valid
[platform/kernel/u-boot.git]
/
arch
/
arm
/
mach-rockchip
/
tpl.c
diff --git
a/arch/arm/mach-rockchip/tpl.c
b/arch/arm/mach-rockchip/tpl.c
index
8126587
..
ed46a9a
100644
(file)
--- a/
arch/arm/mach-rockchip/tpl.c
+++ b/
arch/arm/mach-rockchip/tpl.c
@@
-39,7
+39,7
@@
__weak void rockchip_stimer_init(void)
#ifndef CONFIG_ARM64
asm volatile("mcr p15, 0, %0, c14, c0, 0"
- : : "r"(COUNTER_FREQUENCY));
+ : : "r"(CO
NFIG_CO
UNTER_FREQUENCY));
#endif
writel(0, CONFIG_ROCKCHIP_STIMER_BASE + TIMER_CONTROL_REG);