summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorSimon South <simon@simonsouth.net>2019-10-10 15:28:36 -0400
committerKever Yang <kever.yang@rock-chips.com>2019-11-10 20:40:20 +0800
commit2cbdb6e051c4a59335101f5ef2084c838b9b5399 (patch)
treeafcded6c1241a02f210f906a48ea311e93c55a58 /arch/arm/include
parenta4bbc662fc7cea596e94ad8623202df7a2c50e27 (diff)
downloadu-boot-2cbdb6e051c4a59335101f5ef2084c838b9b5399.tar.gz
clk: rockchip: rk3328: Configure CPU clock
Add a call to rk3328_configure_cpu() during initialization to set the CPU-clock frequency. Signed-off-by: Simon South <simon@simonsouth.net> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-rockchip/cru_rk3328.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-rockchip/cru_rk3328.h b/arch/arm/include/asm/arch-rockchip/cru_rk3328.h
index 15b9788d9c..4bf69dbe08 100644
--- a/arch/arm/include/asm/arch-rockchip/cru_rk3328.h
+++ b/arch/arm/include/asm/arch-rockchip/cru_rk3328.h
@@ -66,4 +66,7 @@ enum apll_frequencies {
APLL_600_MHZ,
};
+void rk3328_configure_cpu(struct rk3328_cru *cru,
+ enum apll_frequencies apll_freq);
+
#endif /* __ASM_ARCH_CRU_RK3328_H_ */