If PcdArmArchTimerFreqInHz is zero, the value of the timer frequency will be read from CNTFRQ_EL0. Avoid hard-coding the value in ArmJuno.dsc and instead let the ArmArchTimerLib driver read it from the SoC.
Signed-off-by: Rebecca Cran <rebe...@quicinc.com> --- Platform/ARM/JunoPkg/ArmJuno.dsc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Platform/ARM/JunoPkg/ArmJuno.dsc b/Platform/ARM/JunoPkg/ArmJuno.dsc index 9b63a8914f03..e40005862072 100644 --- a/Platform/ARM/JunoPkg/ArmJuno.dsc +++ b/Platform/ARM/JunoPkg/ArmJuno.dsc @@ -188,7 +188,8 @@ [PcdsFixedAtBuild.common] # # ARM Architectural Timer Frequency # - gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|50000000 + # Set to 0 so ArmArchTimerLib will read its value from CNTFRQ_EL0 + gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|0 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|10000 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE -- 2.30.2 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#96679): https://edk2.groups.io/g/devel/message/96679 Mute This Topic: https://groups.io/mt/95334364/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-