psci: arm: remove armv7 function psci_save_target_pc
[oweals/u-boot.git] / arch / arm / cpu / armv7 / psci-common.c
index 73f986bf729840df7a4c58a38ae90b47d937d35f..a328b2bc0e83987a039e07abca5df8a0cf86bca7 100644 (file)
 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;