]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 b5916ff3f399fd8f35f4930e2401a72933ecc007..d57b2898d45688d47b6c85c9eea98edcbfe9b4e3 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 623977651a95ff93aec456007722b27fa00051f8..3b470439bdecd7e7473e9907b3b65c1b5ba18f4e 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