summaryrefslogtreecommitdiff
path: root/ArmPlatformPkg
diff options
context:
space:
mode:
Diffstat (limited to 'ArmPlatformPkg')
-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 6f8bce8338..508f418ce3 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().