Skip to content
Snippets Groups Projects
Commit b0404ea1 authored by Tetsuyuki Kobayashi's avatar Tetsuyuki Kobayashi Committed by Albert ARIBAUD
Browse files

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: default avatarTetsuyuki Kobayashi <koba@kmckk.co.jp>
Acked-by: default avatarNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
parent f68847fa
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment