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:
0e286c5
)
ARM: rmobile: Repair TMU clock on Gen2
author
Marek Vasut
<marek.vasut+renesas@gmail.com>
Fri, 24 Aug 2018 20:36:18 +0000
(22:36 +0200)
committer
Marek Vasut
<marex@denx.de>
Sat, 15 Sep 2018 01:19:07 +0000
(
03:19
+0200)
The Gen2 TMU is fed with fixed 32.5 MHz signal from CP .
This is then divided by 4 in TMU. Fix the timer clock
setting in Gen2.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
include/configs/rcar-gen2-common.h
patch
|
blob
|
history
diff --git
a/include/configs/rcar-gen2-common.h
b/include/configs/rcar-gen2-common.h
index d606da8b0ec4bff262d415e0b47b5cfe16af3d3c..01583f8cc24cc19e14b89da177bdeb9ee9d77994 100644
(file)
--- a/
include/configs/rcar-gen2-common.h
+++ b/
include/configs/rcar-gen2-common.h
@@
-60,6
+60,6
@@
#define CONFIG_TMU_TIMER
#define CONFIG_SYS_TIMER_COUNTS_DOWN
#define CONFIG_SYS_TIMER_COUNTER (TMU_BASE + 0xc) /* TCNT0 */
-#define CONFIG_SYS_TIMER_RATE (
CONFIG_SYS_CLK_FREQ / 8)
+#define CONFIG_SYS_TIMER_RATE (
32500000 / 4) /* CP/4 */
#endif /* __RCAR_GEN2_COMMON_H */