From ce4b2bd4c2ff9447c8d6b6411cea3754c569fe88 Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Tue, 1 Nov 2011 23:33:29 +0000 Subject: [PATCH] ArmPkg/ArmArchTimerLib: Fix TimerLib when the security extension is not implemented git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12628 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c b/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c index 61295a6580..3d5db05b35 100644 --- a/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c +++ b/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c @@ -44,7 +44,7 @@ ArmArchTimerLibConstructor ( ASSERT (TICKS_PER_MICRO_SEC); // If the security extensions are not implemented set Timer Frequency - if ((ArmReadIdPfr1 () & 0xF0)) { + if ((ArmReadIdPfr1 () & 0xF0) == 0x0) { ArmArchTimerSetTimerFreq (PcdGet32 (PcdArmArchTimerFreqInHz)); }