mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
cosmetic: rockchip: rk3288: rename rkclk_configure_cpu
The function is very specific to the rk3288 in its arguments referencing the rk3288 cru and grf and every other rockchip soc has differing cru and grf registers. So make that function naming explicit. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
041cdb5f3d
commit
b339b5dbca
3 changed files with 3 additions and 3 deletions
|
@ -65,6 +65,6 @@ void *rockchip_get_cru(void);
|
|||
struct rk3288_cru;
|
||||
struct rk3288_grf;
|
||||
|
||||
void rkclk_configure_cpu(struct rk3288_cru *cru, struct rk3288_grf *grf);
|
||||
void rk3288_clk_configure_cpu(struct rk3288_cru *cru, struct rk3288_grf *grf);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -784,7 +784,7 @@ static int veyron_init(struct dram_info *priv)
|
|||
return ret;
|
||||
udelay(100);/* Must wait for voltage to stabilize, 2mV/us */
|
||||
|
||||
rkclk_configure_cpu(priv->cru, priv->grf);
|
||||
rk3288_clk_configure_cpu(priv->cru, priv->grf);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -447,7 +447,7 @@ static void rkclk_init(struct rk3288_cru *cru, struct rk3288_grf *grf)
|
|||
}
|
||||
#endif
|
||||
|
||||
void rkclk_configure_cpu(struct rk3288_cru *cru, struct rk3288_grf *grf)
|
||||
void rk3288_clk_configure_cpu(struct rk3288_cru *cru, struct rk3288_grf *grf)
|
||||
{
|
||||
/* pll enter slow-mode */
|
||||
rk_clrsetreg(&cru->cru_mode_con,
|
||||
|
|
Loading…
Reference in a new issue