// Setup the Trustzone Chipsets
if (IS_PRIMARY_CORE(MpId)) {
+ // Transfer the interrupt to Non-secure World
+ ArmGicSetupNonSecure (PcdGet32(PcdGicDistributorBase), PcdGet32(PcdGicInterruptInterfaceBase));
+
+ // Initialize platform specific security policy
ArmPlatformTrustzoneInit ();
if (ArmIsMpCore()) {
ArmCpuSynchronizeWait (ARM_CPU_EVENT_SECURE_INIT);
}
- // Transfer the interrupt to Non-secure World
- ArmGicSetupNonSecure (PcdGet32(PcdGicDistributorBase), PcdGet32(PcdGicInterruptInterfaceBase));
-
// Call the Platform specific fucntion to execute additional actions if required
JumpAddress = PcdGet32 (PcdFvBaseAddress);
ArmPlatformSecExtraAction (MpId, &JumpAddress);