projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f43b0d4
)
rockchip: rk3328: add COUNTER_FREQUENCY definition
author
Kever Yang
<kever.yang@rock-chips.com>
Tue, 31 Dec 2019 07:17:56 +0000
(15:17 +0800)
committer
Kever Yang
<kever.yang@rock-chips.com>
Tue, 31 Dec 2019 07:18:51 +0000
(15:18 +0800)
The arch timer needs COUNTER_FREQUENCY to get correct counter, add it to
make the timer works correct.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
include/configs/rk3328_common.h
patch
|
blob
|
history
diff --git
a/include/configs/rk3328_common.h
b/include/configs/rk3328_common.h
index b14da3a62655296561eb100fc49680fdcfe91506..407e5d2931182ca6ef8eee0170cea683bcbd22fd 100644
(file)
--- a/
include/configs/rk3328_common.h
+++ b/
include/configs/rk3328_common.h
@@
-11,6
+11,7
@@
#define CONFIG_IRAM_BASE 0xff090000
#define CONFIG_ROCKCHIP_STIMER_BASE 0xff1d0020
+#define COUNTER_FREQUENCY 24000000
#define CONFIG_SYS_CBSIZE 1024
#define CONFIG_SKIP_LOWLEVEL_INIT