summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Library/ArmGicArchSecLib/ArmGicArchLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'ArmPkg/Library/ArmGicArchSecLib/ArmGicArchLib.c')
-rw-r--r--ArmPkg/Library/ArmGicArchSecLib/ArmGicArchLib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ArmPkg/Library/ArmGicArchSecLib/ArmGicArchLib.c b/ArmPkg/Library/ArmGicArchSecLib/ArmGicArchLib.c
index ca81951b2b..3c791a245c 100644
--- a/ArmPkg/Library/ArmGicArchSecLib/ArmGicArchLib.c
+++ b/ArmPkg/Library/ArmGicArchSecLib/ArmGicArchLib.c
@@ -15,7 +15,7 @@ ArmGicGetSupportedArchRevision (
VOID
)
{
- UINT32 IccSre;
+ UINT32 IccSre;
// Ideally we would like to use the GICC IIDR Architecture version here, but
// this does not seem to be very reliable as the implementation could easily
@@ -36,6 +36,7 @@ ArmGicGetSupportedArchRevision (
ArmGicV3SetControlSystemRegisterEnable (IccSre | ICC_SRE_EL2_SRE);
IccSre = ArmGicV3GetControlSystemRegisterEnable ();
}
+
if (IccSre & ICC_SRE_EL2_SRE) {
return ARM_GIC_ARCH_REVISION_3;
}