summaryrefslogtreecommitdiff
path: root/board/kmc/kzm9g
diff options
context:
space:
mode:
authorTetsuyuki Kobayashi <koba@kmckk.co.jp>2012-11-20 16:29:17 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-02-02 23:45:32 +0100
commitb0404ea1268540ebfe8c10b718990d82ee1d113f (patch)
treebccc5df26f9420892f27ee3bd73d8b2c8818fd4b /board/kmc/kzm9g
parentf68847fa2ffe323addd57fafe5cd59e2d8d21b49 (diff)
arm: rmobile: kzm9g: Adjust ETM trace clock
Set ETM TRCLK down to 78MHz to get clear wave form. This patch makes difference only when you use ETM trace connecting JTAG debugger. Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp> Acked-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Diffstat (limited to 'board/kmc/kzm9g')
-rw-r--r--board/kmc/kzm9g/kzm9g.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/kmc/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c
index 1aeb5fe0b7..0d895c2b42 100644
--- a/board/kmc/kzm9g/kzm9g.c
+++ b/board/kmc/kzm9g/kzm9g.c
@@ -195,7 +195,7 @@ void s_init(void)
/* FRQCR Init */
writel(0x0012453C, &cpg->frqcra);
- writel(0x80331350, &cpg->frqcrb);
+ writel(0x80431350, &cpg->frqcrb); /* ETM TRCLK 78MHz */
cmp_loop(&cpg->frqcrb, 0x80000000, 0x0);
writel(0x00000B0B, &cpg->frqcrd);
cmp_loop(&cpg->frqcrd, 0x80000000, 0x0);