ls102xa: psci: save context id in cpu_on command
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 16 Apr 2018 08:15:07 +0000 (10:15 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 7 May 2018 15:52:54 +0000 (11:52 -0400)
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/cpu/armv7/ls102xa/psci.S

index a36f05c577f20d12a1d96fbe329117cc43c77f3c..531cfb033bc30493872c640719102860e7d35845 100644 (file)
@@ -124,7 +124,8 @@ psci_cpu_on:
 
        mov     r0, r4
        mov     r1, r2
-       bl      psci_save_target_pc
+       mov     r2, r3
+       bl      psci_save
        mov     r1, r4
 
        @ Get DCFG base address