]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(intel): implement timer init divider via CPU frequency for N5X
authorSieu Mun Tang <sieu.mun.tang@intel.com>
Thu, 23 Jun 2022 10:05:02 +0000 (18:05 +0800)
committerSieu Mun Tang <sieu.mun.tang@intel.com>
Fri, 14 Apr 2023 01:17:33 +0000 (09:17 +0800)
commit02a9d70c4deaa2102386611ac6b305838003148d
tree1e5b1ab1162480a3fe009849015aa6ac8b029f7d
parent15db5039b5ad8c77a62ad8b9aac0bf587681918d
feat(intel): implement timer init divider via CPU frequency for N5X

Get CPU frequency and update the timer init div with it.
The timer is vary based on the CPU frequency instead of hardcoded.

Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
Signed-off-by: Sieu Mun Tang <sieu.mun.tang@intel.com>
Change-Id: Ibfaa47fb7a25176eebf06f4828bf9729d56f12ed
plat/intel/soc/agilex/include/agilex_clock_manager.h
plat/intel/soc/agilex/include/socfpga_plat_def.h
plat/intel/soc/common/socfpga_delay_timer.c
plat/intel/soc/n5x/include/n5x_clock_manager.h [new file with mode: 0644]
plat/intel/soc/n5x/include/socfpga_plat_def.h
plat/intel/soc/n5x/platform.mk
plat/intel/soc/n5x/soc/n5x_clock_manager.c [new file with mode: 0644]
plat/intel/soc/stratix10/include/s10_clock_manager.h
plat/intel/soc/stratix10/include/socfpga_plat_def.h