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:
d7677bf
)
sh: tmu: Fix SH4 TCNT0 offset
author
Marek Vasut
<marek.vasut+renesas@gmail.com>
Sat, 31 Aug 2019 15:33:06 +0000
(17:33 +0200)
committer
Marek Vasut
<marex@denx.de>
Mon, 2 Sep 2019 15:38:42 +0000
(17:38 +0200)
Fix the offset of TCNT0 register, which is 0xc on SH4.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
arch/sh/include/asm/config.h
patch
|
blob
|
history
diff --git
a/arch/sh/include/asm/config.h
b/arch/sh/include/asm/config.h
index df38c82abc674900c0aa8811c4c0bf9875c2d324..406156dff51d612ba30d43a68b2c0e12ed33085e 100644
(file)
--- a/
arch/sh/include/asm/config.h
+++ b/
arch/sh/include/asm/config.h
@@
-10,7
+10,7
@@
/* Timer */
#define CONFIG_SYS_TIMER_COUNTS_DOWN
-#define CONFIG_SYS_TIMER_COUNTER (TMU_BASE + 0x
8
) /* TCNT0 */
+#define CONFIG_SYS_TIMER_COUNTER (TMU_BASE + 0x
c
) /* TCNT0 */
#define CONFIG_SYS_TIMER_RATE (CONFIG_SYS_CLK_FREQ / 4)
#endif