mirror of
https://github.com/u-boot/u-boot.git
synced 2025-01-23 19:23:25 +08:00
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>
This commit is contained in:
parent
f68847fa2f
commit
b0404ea126
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user