[U-Boot] [PATCH v1 1/5] ARM: PSCI: initialize stack pointer on secondary CPUs
Stefan Agner
stefan at agner.ch
Sun Jun 24 19:09:54 UTC 2018
From: Stefan Agner <stefan.agner at toradex.com>
A proper stack is required to safely use C code in psci_arch_cpu_entry.
Fixes: 486daaa618e1 ("arm: psci: add a weak function psci_arch_cpu_entry")
Cc: Patrick Delaunay <patrick.delaunay at st.com>
Signed-off-by: Stefan Agner <stefan.agner at toradex.com>
---
arch/arm/cpu/armv7/psci.S | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/cpu/armv7/psci.S b/arch/arm/cpu/armv7/psci.S
index 08b5088675..983cd90442 100644
--- a/arch/arm/cpu/armv7/psci.S
+++ b/arch/arm/cpu/armv7/psci.S
@@ -331,6 +331,8 @@ ENTRY(psci_cpu_entry)
bl _nonsec_init
+ bl psci_stack_setup
+
bl psci_arch_cpu_entry
bl psci_get_cpu_id @ CPU ID => r0
--
2.17.1
More information about the U-Boot
mailing list