mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-07 19:45:07 +02:00
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…
x
Reference in New Issue
Block a user