aboutsummaryrefslogtreecommitdiff
path: root/common/psci/psci_entry.S
diff options
context:
space:
mode:
Diffstat (limited to 'common/psci/psci_entry.S')
-rw-r--r--common/psci/psci_entry.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/psci/psci_entry.S b/common/psci/psci_entry.S
index 6532556..a6a1a6f 100644
--- a/common/psci/psci_entry.S
+++ b/common/psci/psci_entry.S
@@ -72,7 +72,10 @@ psci_aff_common_finish_entry:
* level 0.
* ---------------------------------------------
*/
- bl get_max_afflvl
+ mov x0, x19
+ bl get_power_on_target_afflvl
+ cmp x0, xzr
+ b.lt _panic
mov x3, x23
mov x2, x0
mov x0, x19