diff options
| author | Tom Rini <trini@konsulko.com> | 2018-08-17 07:24:34 -0400 | 
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2018-08-17 07:24:34 -0400 | 
| commit | 719afeb0b3c60af82f701f122978b935aa6a5217 (patch) | |
| tree | 2e8c4d6074f4cea83524faa719aef0aafd8683b0 /arch/arm/mach-socfpga/clock_manager.c | |
| parent | 86cf1c82850f7c226f23684e19616e526ffaf10f (diff) | |
| parent | b0c0a715f90690a7dd4f33cb5b5c21960be26d3c (diff) | |
Merge branch 'master' of git://git.denx.de/u-boot-socfpga
Diffstat (limited to 'arch/arm/mach-socfpga/clock_manager.c')
| -rw-r--r-- | arch/arm/mach-socfpga/clock_manager.c | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/arch/arm/mach-socfpga/clock_manager.c b/arch/arm/mach-socfpga/clock_manager.c index 59ede59b599..9f3c643df88 100644 --- a/arch/arm/mach-socfpga/clock_manager.c +++ b/arch/arm/mach-socfpga/clock_manager.c @@ -42,9 +42,11 @@ int cm_wait_for_fsm(void)  int set_cpu_clk_info(void)  { +#if defined(CONFIG_TARGET_SOCFPGA_GEN5)  	/* Calculate the clock frequencies required for drivers */  	cm_get_l4_sp_clk_hz();  	cm_get_mmc_controller_clk_hz(); +#endif  	gd->bd->bi_arm_freq = cm_get_mpu_clk_hz() / 1000000;  	gd->bd->bi_dsp_freq = 0; | 
