diff options
author | Kever Yang <kever.yang@rock-chips.com> | 2019-07-22 19:59:13 +0800 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2019-07-29 10:25:27 +0800 |
commit | 84a6a27ae3fffda333e801c0fa4c64da85eff55b (patch) | |
tree | c7deaee5998c61e47f0a05d32bcdd59f8cb7c8a3 /drivers/clk | |
parent | 49105fb7ed1c4e91409307a33363fc2a2c7aa711 (diff) | |
download | u-boot-84a6a27ae3fffda333e801c0fa4c64da85eff55b.tar.gz u-boot-84a6a27ae3fffda333e801c0fa4c64da85eff55b.tar.bz2 u-boot-84a6a27ae3fffda333e801c0fa4c64da85eff55b.zip |
rockchip: rk3188: init CPU freq in clock driver
Init CPU frquency in clock driver instead of in SPL board file,
this will help for use common board file later.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/rockchip/clk_rk3188.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/clk/rockchip/clk_rk3188.c b/drivers/clk/rockchip/clk_rk3188.c index 9bb9959c9d..dda686cfb3 100644 --- a/drivers/clk/rockchip/clk_rk3188.c +++ b/drivers/clk/rockchip/clk_rk3188.c @@ -562,6 +562,9 @@ static int rk3188_clk_probe(struct udevice *dev) #endif rkclk_init(priv->cru, priv->grf, priv->has_bwadj); + + /* Init CPU frequency */ + rkclk_configure_cpu(priv->cru, priv->grf, APLL_HZ, priv->has_bwadj); #endif return 0; |