mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-28 23:50:26 +09:00
clk: k210: Move the clint clock to under aclk
No other (real) clocks have the cpu clock as their parent; instead they are children of aclk. Move the clint clock under aclk to match them. Signed-off-by: Sean Anderson <seanga2@gmail.com>
This commit is contained in:
parent
f93ce98eb2
commit
800c7f6a1f
@ -643,7 +643,7 @@ static int k210_clk_probe(struct udevice *dev)
|
|||||||
|
|
||||||
/* The MTIME register in CLINT runs at one 50th the CPU clock speed */
|
/* The MTIME register in CLINT runs at one 50th the CPU clock speed */
|
||||||
clk_dm(K210_CLK_CLINT,
|
clk_dm(K210_CLK_CLINT,
|
||||||
clk_register_fixed_factor(NULL, "clint", "cpu", 0, 1, 50));
|
clk_register_fixed_factor(NULL, "clint", "aclk", 0, 1, 50));
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user