mirror of https://github.com/acidanthera/audk.git
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:
parent
a8151a7074
commit
ce4b2bd4c2
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue