summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2022-11-11 09:08:42 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2022-11-13 18:49:26 +0000
commit987f46c276bd1b6b5d15be8ca9aee5f028e37fa7 (patch)
tree90c30d841dae18fb224603d4f4795c0f27504326 /src/arch/x86
parentca5a793ec31c76b168ae2f9d2260b49c79330eb2 (diff)
arch/x86/mpspec.c: Drop weak write_smp_table()
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 <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69489 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/mpspec.c22
1 files changed, 0 insertions, 22 deletions
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;
-}