mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
imx8m: clock: improve irq response latency
Improve the IRQ response latency by setting GIC root clock source to sys_pll2_200m from osc. Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
9e09445549
commit
eeca15a50a
1 changed files with 6 additions and 0 deletions
|
@ -806,6 +806,12 @@ int clock_init(void)
|
|||
clock_enable(CCGR_TSENSOR, 1);
|
||||
clock_enable(CCGR_OCOTP, 1);
|
||||
|
||||
/* config GIC ROOT to sys_pll2_200m */
|
||||
clock_enable(CCGR_GIC, 0);
|
||||
clock_set_target_val(GIC_CLK_ROOT,
|
||||
CLK_ROOT_ON | CLK_ROOT_SOURCE_SEL(1));
|
||||
clock_enable(CCGR_GIC, 1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue