aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/aarch64/hypervisor/psci_handler.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/aarch64/hypervisor/psci_handler.c b/src/arch/aarch64/hypervisor/psci_handler.c
index 55704d49..f89a00ba 100644
--- a/src/arch/aarch64/hypervisor/psci_handler.c
+++ b/src/arch/aarch64/hypervisor/psci_handler.c
@@ -30,6 +30,7 @@ void cpu_entry(struct cpu *c);
/* Performs arch specific boot time initialisation. */
void arch_one_time_init(void)
{
+#if SECURE_WORLD == 0
struct ffa_value smc_res =
smc32(PSCI_VERSION, 0, 0, 0, 0, 0, 0, SMCCC_CALLER_HYPERVISOR);
@@ -50,6 +51,9 @@ void arch_one_time_init(void)
el3_psci_version = 0;
break;
}
+#else
+ el3_psci_version = PSCI_VERSION_1_1;
+#endif
}
/**