mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
arm: socfpga: Move cm_get_mpu_clk_hz function declaration to clock_manager.h
Move cm_get_mpu_clk_hz function declaration from individual device's clock manager header file to common clock_manager.h. Signed-off-by: Siew Chin Lim <elly.siew.chin.lim@intel.com>
This commit is contained in:
parent
14b7fba31f
commit
d6fee20d5f
5 changed files with 1 additions and 5 deletions
|
@ -12,6 +12,7 @@ phys_addr_t socfpga_get_clkmgr_addr(void);
|
|||
void cm_wait_for_lock(u32 mask);
|
||||
int cm_wait_for_fsm(void);
|
||||
void cm_print_clock_quick_summary(void);
|
||||
unsigned long cm_get_mpu_clk_hz(void);
|
||||
unsigned int cm_get_qspi_controller_clk_hz(void);
|
||||
|
||||
#if defined(CONFIG_TARGET_SOCFPGA_SOC64)
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
#ifndef _CLOCK_MANAGER_AGILEX_
|
||||
#define _CLOCK_MANAGER_AGILEX_
|
||||
|
||||
unsigned long cm_get_mpu_clk_hz(void);
|
||||
|
||||
#include <asm/arch/clock_manager_soc64.h>
|
||||
#include "../../../../../drivers/clk/altera/clk-agilex.h"
|
||||
|
||||
|
|
|
@ -68,7 +68,6 @@ int cm_basic_init(const void *blob);
|
|||
|
||||
#include <linux/bitops.h>
|
||||
unsigned int cm_get_l4_sp_clk_hz(void);
|
||||
unsigned long cm_get_mpu_clk_hz(void);
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
|
||||
|
|
|
@ -96,7 +96,6 @@ struct cm_config {
|
|||
#define CLKMGR_PERPLL_EN CLKMGR_GEN5_PERPLL_EN
|
||||
|
||||
/* Clock speed accessors */
|
||||
unsigned long cm_get_mpu_clk_hz(void);
|
||||
unsigned long cm_get_sdram_clk_hz(void);
|
||||
unsigned int cm_get_l4_sp_clk_hz(void);
|
||||
unsigned int cm_get_mmc_controller_clk_hz(void);
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include <linux/bitops.h>
|
||||
|
||||
/* Clock speed accessors */
|
||||
unsigned long cm_get_mpu_clk_hz(void);
|
||||
unsigned long cm_get_sdram_clk_hz(void);
|
||||
unsigned int cm_get_l4_sp_clk_hz(void);
|
||||
unsigned int cm_get_mmc_controller_clk_hz(void);
|
||||
|
|
Loading…
Reference in a new issue