diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2018-04-16 10:15:12 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-05-07 11:52:55 -0400 |
commit | 9ce751a6f5d6683b0fabd3cfc62da7e9f30bc57f (patch) | |
tree | 286b339e7e2b5285567a3987944412e16d50bfa7 /arch/arm/cpu | |
parent | 9622c7e65d9b9fe4703d3bf35c472518aedba404 (diff) |
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>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r-- | arch/arm/cpu/armv7/psci-common.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/cpu/armv7/psci-common.c b/arch/arm/cpu/armv7/psci-common.c index 73f986bf72..a328b2bc0e 100644 --- a/arch/arm/cpu/armv7/psci-common.c +++ b/arch/arm/cpu/armv7/psci-common.c @@ -27,13 +27,6 @@ static u32 psci_target_pc[CONFIG_ARMV7_PSCI_NR_CPUS] __secure_data = { 0 }; static u32 psci_context_id[CONFIG_ARMV7_PSCI_NR_CPUS] __secure_data = { 0 }; -void __secure psci_save_target_pc(int cpu, u32 pc) -{ - psci_target_pc[cpu] = pc; - psci_context_id[cpu] = 0; - dsb(); -} - void __secure psci_save(int cpu, u32 pc, u32 context_id) { psci_target_pc[cpu] = pc; |