From a552cfc9812525f68e27019381bf641d0de251ee Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Sat, 29 May 2021 07:11:10 +0200 Subject: drivers/amd/agesa/romstage.c: Move timestamp and console init up MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Follow-up commits move this to a common place. Change-Id: I26a37f9384a581a8a750efccc2100a5c6a6f0f85 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/55066 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/drivers/amd/agesa/romstage.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/drivers/amd/agesa/romstage.c b/src/drivers/amd/agesa/romstage.c index 5968f7379f..ec798eece7 100644 --- a/src/drivers/amd/agesa/romstage.c +++ b/src/drivers/amd/agesa/romstage.c @@ -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); -- cgit v1.2.3