summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2018-08-24 21:19:15 +0200
committerMarek Vasut <marex@denx.de>2018-09-15 03:19:07 +0200
commitd1da5d6cd8d33f777cf8374bf070970c4cca32e1 (patch)
tree78db16ecbcda0134208bc7532660b9e114acee62 /arch
parent2606deb22b58c8b55426a34dd7d93c703de65974 (diff)
sh: tmu: Clean up CONFIG_SYS_TMU_CLK_DIV
This constant is always 4 , for all boards that exist. Define it once in arch/sh/lib/time.c and remove it from the configs. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/lib/time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/lib/time.c b/arch/sh/lib/time.c
index eb642969aa..aac79889dc 100644
--- a/arch/sh/lib/time.c
+++ b/arch/sh/lib/time.c
@@ -16,6 +16,7 @@
#include <sh_tmu.h>
#define TCR_TPSC 0x07
+#define CONFIG_SYS_TMU_CLK_DIV 4
static struct tmu_regs *tmu = (struct tmu_regs *)TMU_BASE;