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>
This commit is contained in:
parent
ca5a793ec3
commit
987f46c276
|
@ -507,25 +507,3 @@ void *mptable_finalize(struct mp_config_table *mc)
|
||||||
mc, smp_next_mpe_entry(mc));
|
mc, smp_next_mpe_entry(mc));
|
||||||
return 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;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue