mirror of https://github.com/acidanthera/audk.git
ArmPkg/ArmCpuLib: Added A57 Errata 806969
This rare errata only affects r0p0 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15400 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
19dc108b65
commit
44372159a2
|
@ -40,6 +40,14 @@ ArmCpuSetup (
|
||||||
ArmSetCpuExCrBit (A5X_FEATURE_SMP);
|
ArmSetCpuExCrBit (A5X_FEATURE_SMP);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// If CPU is CortexA57 r0p0 apply Errata: 806969
|
||||||
|
//
|
||||||
|
if ((ArmReadMidr () & ((ARM_CPU_TYPE_MASK << 4) | ARM_CPU_REV_MASK)) ==
|
||||||
|
((ARM_CPU_TYPE_A57 << 4) | ARM_CPU_REV(0,0))) {
|
||||||
|
// DisableLoadStoreWB
|
||||||
|
ArmSetCpuActlrBit (1ULL << 49);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
|
|
Loading…
Reference in New Issue