]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(intel): implement timer init divider via cpu frequency. (#1)
authorBenjaminLimJL <jit.loon.lim@intel.com>
Wed, 6 Apr 2022 02:19:16 +0000 (10:19 +0800)
committerManish Pandey <manish.pandey2@arm.com>
Fri, 6 May 2022 15:37:45 +0000 (17:37 +0200)
commitf65bdf3a54eed8f7651761c25bf6cc7437f4474b
tree4218d0b1e265a0d76de9c4bad22b13e1bb9e5dab
parent2c87fabab581345562af525cb067c407aac8dc87
feat(intel): implement timer init divider via cpu frequency. (#1)

Get cpu frequency and update the timer init div with it.
The timer is vary based on the cpu frequency instead of hardcoded.
The implementation shall apply to only Agilex and S10

Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
Change-Id: I61684d9762ad34e5a60b8b176b60c8848db4b422
12 files changed:
plat/intel/soc/agilex/include/agilex_clock_manager.h
plat/intel/soc/agilex/include/socfpga_plat_def.h
plat/intel/soc/agilex/platform.mk
plat/intel/soc/agilex/soc/agilex_clock_manager.c
plat/intel/soc/common/include/platform_def.h
plat/intel/soc/common/include/socfpga_private.h
plat/intel/soc/common/socfpga_delay_timer.c
plat/intel/soc/n5x/include/socfpga_plat_def.h
plat/intel/soc/stratix10/include/s10_clock_manager.h
plat/intel/soc/stratix10/include/socfpga_plat_def.h
plat/intel/soc/stratix10/platform.mk
plat/intel/soc/stratix10/soc/s10_clock_manager.c