summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ArmPlatformPkg/Sec/Sec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ArmPlatformPkg/Sec/Sec.c b/ArmPlatformPkg/Sec/Sec.c
index 6f8bce833..508f418ce 100644
--- a/ArmPlatformPkg/Sec/Sec.c
+++ b/ArmPlatformPkg/Sec/Sec.c
@@ -192,6 +192,9 @@ CEntryPoint (
}
// Trustzone is not enabled, just enable the Distributor and CPU interface
+ if (CoreId == ARM_PRIMARY_CORE) {
+ PL390GicEnableDistributor (PcdGet32(PcdGicDistributorBase));
+ }
PL390GicEnableInterruptInterface(PcdGet32(PcdGicInterruptInterfaceBase));
// With Trustzone support the transition from Sec to Normal world is done by return_from_exception().