drivers/amd/agesa/romstage.c: Move timestamp and console init up

Follow-up commits move this to a common place.

Change-Id: I26a37f9384a581a8a750efccc2100a5c6a6f0f85
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55066
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
Arthur Heymans 2021-05-29 07:11:10 +02:00 committed by Kyösti Mälkki
parent 1a8ecb6438
commit a552cfc981
1 changed files with 4 additions and 4 deletions

View File

@ -38,17 +38,17 @@ static void romstage_main(void)
struct sysinfo *cb = &romstage_state;
int cbmem_initted = 0;
fill_sysinfo(cb);
timestamp_add_now(TS_ROMSTAGE_START);
board_BeforeAgesa(cb);
console_init();
printk(BIOS_DEBUG, "APIC %02u: CPU Family_Model = %08x\n",
initial_lapicid(), cpuid_eax(1));
fill_sysinfo(cb);
board_BeforeAgesa(cb);
set_ap_entry_ptr(ap_romstage_main);
agesa_execute_state(cb, AMD_INIT_RESET);