1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-27 08:33:10 +01:00

psci: arm: remove armv7 function psci_save_target_pc

This function is no more used, and replaced by psci_save
which save also context id as requested by PSCI requirements.

Even if the context id is not used by Linux, it should be saved
and restored in r0 when the CPU_ON is performed.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
This commit is contained in:
Patrick Delaunay
2018-04-16 10:15:12 +02:00
committed by Tom Rini
parent 9622c7e65d
commit 9ce751a6f5
2 changed files with 1 additions and 9 deletions

View File

@@ -93,10 +93,9 @@
#ifndef __ASSEMBLY__
#include <asm/types.h>
/* These 4 helper functions assume cpu < CONFIG_ARMV7_PSCI_NR_CPUS */
/* These 3 helper functions assume cpu < CONFIG_ARMV7_PSCI_NR_CPUS */
u32 psci_get_target_pc(int cpu);
u32 psci_get_context_id(int cpu);
void psci_save_target_pc(int cpu, u32 pc);
void psci_save(int cpu, u32 pc, u32 context_id);
void psci_cpu_entry(void);