]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(intel): fix Agilex and N5X clock manager to main PLL C0
authorJit Loon Lim <jit.loon.lim@intel.com>
Thu, 22 Dec 2022 13:52:36 +0000 (21:52 +0800)
committerSieu Mun Tang <sieu.mun.tang@intel.com>
Fri, 14 Apr 2023 01:19:31 +0000 (09:19 +0800)
commit5f06bffa831638fd95d2160209000ef36d2a22ce
treed4af3aeee5040bb2f39f5c087d5316723247b653
parent02a9d70c4deaa2102386611ac6b305838003148d
fix(intel): fix Agilex and N5X clock manager to main PLL C0

Update Agilex and N5X clock manager to get MPU clock from mainPLL C0
and PeriPLLC0.
1. Updated macro name PLAT_SYS_COUNTER_CONVERT_TO_MHZ to
PLAT_HZ_CONVERT_TO_MHZ.
2. Updated get_cpu_clk to point to get_mpu_clk and added comment.
3. Added get_mpu_clk to get clock from main PLL C0 and Peri PLL C0.

Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
Change-Id: I43a9d83caa832b61eba93a830e2a671fd4dffa19
plat/intel/soc/agilex/include/agilex_clock_manager.h
plat/intel/soc/agilex/soc/agilex_clock_manager.c
plat/intel/soc/common/include/platform_def.h
plat/intel/soc/n5x/include/n5x_clock_manager.h
plat/intel/soc/n5x/soc/n5x_clock_manager.c
plat/intel/soc/stratix10/soc/s10_clock_manager.c