From 987f46c276bd1b6b5d15be8ca9aee5f028e37fa7 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Fri, 11 Nov 2022 09:08:42 +0200 Subject: arch/x86/mpspec.c: Drop weak write_smp_table() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Creating MP table is not useful when it does not include the interrupt routing entries. Change-Id: I1f38fb32a9436de64dfaf82e426cbd64b220ffa7 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/69489 Reviewed-by: Arthur Heymans Tested-by: build bot (Jenkins) --- src/arch/x86/mpspec.c | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/arch/x86/mpspec.c') diff --git a/src/arch/x86/mpspec.c b/src/arch/x86/mpspec.c index 15b64b3086..cbf67438c4 100644 --- a/src/arch/x86/mpspec.c +++ b/src/arch/x86/mpspec.c @@ -507,25 +507,3 @@ void *mptable_finalize(struct mp_config_table *mc) mc, smp_next_mpe_entry(mc)); return smp_next_mpe_entry(mc); } - -unsigned long __weak write_smp_table(unsigned long addr) -{ - struct mp_config_table *mc; - int isa_bus; - void *tmp, *v; - - v = smp_write_floating_table(addr, 0); - mc = (void *)(((char *)v) + SMP_FLOATING_TABLE_LEN); - - mptable_init(mc); - - smp_write_processors(mc); - - mptable_write_buses(mc, NULL, &isa_bus); - - mptable_lintsrc(mc, isa_bus); - tmp = mptable_finalize(mc); - printk(BIOS_INFO, "MPTABLE len: %d\n", (unsigned int)((uintptr_t)tmp - - (uintptr_t)v)); - return (unsigned long)tmp; -} -- cgit v1.2.3