diff options
author | Simon Glass <sjg@chromium.org> | 2016-10-01 20:04:52 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-10-30 13:29:06 -0600 |
commit | 5564ed5dd980c1e67780fb6a7fdbe29fd76174ed (patch) | |
tree | bb59988a462d366be5f4099b9195f8669a4c411a /arch/arm/include/asm | |
parent | c8a6bc968312f572cc84e3928ae5a293f2454849 (diff) |
rockchip: rk3288: Move rockchip_get_cru() out of the driver
This function is called from outside the driver. It should be placed into
common SoC code. Move it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/arch-rockchip/cru_rk3288.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-rockchip/cru_rk3288.h b/arch/arm/include/asm/arch-rockchip/cru_rk3288.h index 8a8ca9c9aad..d575f4a1639 100644 --- a/arch/arm/include/asm/arch-rockchip/cru_rk3288.h +++ b/arch/arm/include/asm/arch-rockchip/cru_rk3288.h @@ -25,6 +25,13 @@ #define PERI_HCLK_HZ 148500000 #define PERI_PCLK_HZ 74250000 +/* Private data for the clock driver - used by rockchip_get_cru() */ +struct rk3288_clk_priv { + struct rk3288_grf *grf; + struct rk3288_cru *cru; + ulong rate; +}; + struct rk3288_cru { struct rk3288_pll { u32 con0; |