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
This commit is contained in:
oliviermartin 2011-11-01 23:33:29 +00:00
parent a8151a7074
commit ce4b2bd4c2
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}