]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/arm/include/asm/arch-rockchip/clock.h
clk: convert API to match reset/mailbox style
[karo-tx-uboot.git] / arch / arm / include / asm / arch-rockchip / clock.h
index a9ea2689c7462bc3f6815bc59a89859eeb1b9377..317e5128ed2bc48342e163b120f81f05c87de9f7 100644 (file)
@@ -62,16 +62,9 @@ static inline u32 clk_get_divisor(ulong input_rate, uint output_rate)
  */
 void *rockchip_get_cru(void);
 
-/**
- * rkclk_get_clk() - get a pointer to a given clock
- *
- * This is an internal function - use outside the clock subsystem indicates
- * that work is needed!
- *
- * @clk_id:    Clock requested
- * @devp:      Returns a pointer to that clock
- * @return 0 if OK, -ve on error
- */
-int rkclk_get_clk(enum rk_clk_id clk_id, struct udevice **devp);
+struct rk3288_cru;
+struct rk3288_grf;
+
+void rkclk_configure_cpu(struct rk3288_cru *cru, struct rk3288_grf *grf);
 
 #endif