[U-Boot,2/6] imx7: psci: save context id in cpu_on command

Message ID 1523866512-11112-2-git-send-email-patrick.delaunay@st.com
State New
Delegated to: Tom Rini
Headers show
  • [U-Boot,1/6] ls102xa: psci: save context id in cpu_on command
Related show

Commit Message

Patrick DELAUNAY April 16, 2018, 8:15 a.m.
Replace the psci_save_target_pc call by the new function
psci_save(cpu, pc,context_id)

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>

 arch/arm/mach-imx/mx7/psci.S | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


diff --git a/arch/arm/mach-imx/mx7/psci.S b/arch/arm/mach-imx/mx7/psci.S
index bc2cd8a..7ee2dd7 100644
--- a/arch/arm/mach-imx/mx7/psci.S
+++ b/arch/arm/mach-imx/mx7/psci.S
@@ -24,7 +24,8 @@  psci_cpu_on:
 	mov	r5, r1
 	mov	r0, r1
 	mov	r1, r2
-	bl	psci_save_target_pc
+	mov	r2, r3
+	bl	psci_save
 	mov	r0, r4
 	mov	r1, r5