armv8: layerscape: remove determine_mp_bootpg()
authorMichael Walle <michael@walle.cc>
Mon, 1 Jun 2020 19:53:30 +0000 (21:53 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 27 Jul 2020 08:46:27 +0000 (14:16 +0530)
Only the PowerPC architecture needs this function. Remove it.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/mp.c
arch/arm/include/asm/arch-fsl-layerscape/mp.h

index b5916ff..d57b289 100644 (file)
@@ -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();
index 6239776..3b47043 100644 (file)
@@ -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