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:
parent
1a8ecb6438
commit
a552cfc981
|
@ -38,17 +38,17 @@ static void romstage_main(void)
|
||||||
struct sysinfo *cb = &romstage_state;
|
struct sysinfo *cb = &romstage_state;
|
||||||
int cbmem_initted = 0;
|
int cbmem_initted = 0;
|
||||||
|
|
||||||
fill_sysinfo(cb);
|
|
||||||
|
|
||||||
timestamp_add_now(TS_ROMSTAGE_START);
|
timestamp_add_now(TS_ROMSTAGE_START);
|
||||||
|
|
||||||
board_BeforeAgesa(cb);
|
|
||||||
|
|
||||||
console_init();
|
console_init();
|
||||||
|
|
||||||
printk(BIOS_DEBUG, "APIC %02u: CPU Family_Model = %08x\n",
|
printk(BIOS_DEBUG, "APIC %02u: CPU Family_Model = %08x\n",
|
||||||
initial_lapicid(), cpuid_eax(1));
|
initial_lapicid(), cpuid_eax(1));
|
||||||
|
|
||||||
|
fill_sysinfo(cb);
|
||||||
|
|
||||||
|
board_BeforeAgesa(cb);
|
||||||
|
|
||||||
set_ap_entry_ptr(ap_romstage_main);
|
set_ap_entry_ptr(ap_romstage_main);
|
||||||
|
|
||||||
agesa_execute_state(cb, AMD_INIT_RESET);
|
agesa_execute_state(cb, AMD_INIT_RESET);
|
||||||
|
|
Loading…
Reference in New Issue