Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/55065 )
Change subject: drivers/amd/agesa/romstage.c: Remove lapic_id check ......................................................................
drivers/amd/agesa/romstage.c: Remove lapic_id check
The APs don't execute this codepath but ap_romstage_main().
Change-Id: If884001bc8c5363efbbf00422a9a700896318f7b Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/drivers/amd/agesa/romstage.c 1 file changed, 3 insertions(+), 10 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/65/55065/1
diff --git a/src/drivers/amd/agesa/romstage.c b/src/drivers/amd/agesa/romstage.c index cb57e0b..86b6295 100644 --- a/src/drivers/amd/agesa/romstage.c +++ b/src/drivers/amd/agesa/romstage.c @@ -36,22 +36,15 @@ struct postcar_frame pcf; struct sysinfo romstage_state; struct sysinfo *cb = &romstage_state; - u32 initial_apic_id = initial_lapicid(); int cbmem_initted = 0;
fill_sysinfo(cb);
- if (initial_apic_id == 0) { + timestamp_add_now(TS_START_ROMSTAGE);
- timestamp_add_now(TS_START_ROMSTAGE); + board_BeforeAgesa(cb);
- board_BeforeAgesa(cb); - - console_init(); - } - - printk(BIOS_DEBUG, "APIC %02d: CPU Family_Model = %08x\n", - initial_apic_id, cpuid_eax(1)); + console_init();
set_ap_entry_ptr(ap_romstage_main);