diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2021-05-29 07:11:10 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2022-04-07 10:59:29 +0000 |
commit | a552cfc9812525f68e27019381bf641d0de251ee (patch) | |
tree | 7c838f9197b7bd74ee8a3e3cbee353b63ddb7a05 /src/drivers/amd/agesa | |
parent | 1a8ecb64387487df326a3fbf20f59ef2f874c5a2 (diff) |
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>
Diffstat (limited to 'src/drivers/amd/agesa')
-rw-r--r-- | src/drivers/amd/agesa/romstage.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); |