mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
ARM: PSCI: initialize stack pointer on secondary CPUs
A proper stack is required to safely use C code in psci_arch_cpu_entry.
Fixes: 486daaa618
("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>
This commit is contained in:
parent
353432419d
commit
77fcc2cc90
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue