aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2020-06-01 21:53:30 +0200
committerPriyanka Jain <priyanka.jain@nxp.com>2020-07-27 14:16:27 +0530
commitc31ac97f96797c60f9fd365536970310cf897e78 (patch)
tree39f1a9a6ea40571ea259880dc6bc711819c6af3d
parentb1c41231c43b0cc6719b93fe0e0e985b7abb7f5a (diff)
downloadu-boot-c31ac97f96797c60f9fd365536970310cf897e78.zip
u-boot-c31ac97f96797c60f9fd365536970310cf897e78.tar.gz
u-boot-c31ac97f96797c60f9fd365536970310cf897e78.tar.bz2
armv8: layerscape: remove determine_mp_bootpg()
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>
-rw-r--r--arch/arm/cpu/armv8/fsl-layerscape/mp.c5
-rw-r--r--arch/arm/include/asm/arch-fsl-layerscape/mp.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/mp.c b/arch/arm/cpu/armv8/fsl-layerscape/mp.c
index b5916ff..d57b289 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 6239776..3b47043 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