diff mbox series

[v2,07/13] armv8: layerscape: remove determine_mp_bootpg()

Message ID 20200601195336.3237-8-michael@walle.cc
State Accepted
Commit c31ac97f96797c60f9fd365536970310cf897e78
Headers show
Series armv8: layerscape: spin table relocation fixes and cleanups | expand

Commit Message

Michael Walle June 1, 2020, 7:53 p.m. UTC
Only the PowerPC architecture needs this function. Remove it.

Signed-off-by: Michael Walle <michael at walle.cc>
---
 arch/arm/cpu/armv8/fsl-layerscape/mp.c        | 5 -----
 arch/arm/include/asm/arch-fsl-layerscape/mp.h | 1 -
 2 files changed, 6 deletions(-)
diff mbox series

Patch

diff --git a/arch/arm/cpu/armv8/fsl-layerscape/mp.c b/arch/arm/cpu/armv8/fsl-layerscape/mp.c
index b5916ff3f3..d57b2898d4 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/mp.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/mp.c
@@ -23,11 +23,6 @@  void *get_spin_tbl_addr(void)
 	return &__spin_table;
 }
 
-phys_addr_t determine_mp_bootpg(void)
-{
-	return (phys_addr_t)&secondary_boot_code;
-}
-
 void update_os_arch_secondary_cores(uint8_t os_arch)
 {
 	u64 *table = get_spin_tbl_addr();
diff --git a/arch/arm/include/asm/arch-fsl-layerscape/mp.h b/arch/arm/include/asm/arch-fsl-layerscape/mp.h
index 623977651a..3b470439bd 100644
--- a/arch/arm/include/asm/arch-fsl-layerscape/mp.h
+++ b/arch/arm/include/asm/arch-fsl-layerscape/mp.h
@@ -42,7 +42,6 @@  int fsl_layerscape_wake_seconday_cores(void);
 static inline int fsl_layerscape_wake_seconday_cores(void) { return 0; }
 #endif
 void *get_spin_tbl_addr(void);
-phys_addr_t determine_mp_bootpg(void);
 int is_core_online(u64 cpu_id);
 u32 cpu_pos_mask(void);
 #endif