diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2018-06-24 22:09:54 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-07-23 11:53:12 +0300 |
commit | 77fcc2cc901e1886996fda80de464a2372a69124 (patch) | |
tree | 04bc55dffb462615969a2edc7c448f514b807624 | |
parent | 353432419de8f90e19f447b4e054ee28c7fa62d0 (diff) | |
download | u-boot-77fcc2cc901e1886996fda80de464a2372a69124.tar.xz |
ARM: PSCI: initialize stack pointer on secondary CPUs
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@st.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Patrick DELAUNAY <Patrick.delaunay@st.com>
Tested-by: Patrick DELAUNAY <Patrick.delaunay@st.com>
-rw-r--r-- | arch/arm/cpu/armv7/psci.S | 2 |
1 files changed, 2 insertions, 0 deletions
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 |