Browse Source

ls102xa: psci: save context id in cpu_on command

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>
Patrick Delaunay 7 years ago
parent
commit
60599c1c08
1 changed files with 2 additions and 1 deletions
  1. 2 1
      arch/arm/cpu/armv7/ls102xa/psci.S

+ 2 - 1
arch/arm/cpu/armv7/ls102xa/psci.S

@@ -124,7 +124,8 @@ psci_cpu_on:
 
 
 	mov	r0, r4
 	mov	r0, r4
 	mov	r1, r2
 	mov	r1, r2
-	bl	psci_save_target_pc
+	mov	r2, r3
+	bl	psci_save
 	mov	r1, r4
 	mov	r1, r4
 
 
 	@ Get DCFG base address
 	@ Get DCFG base address