intel/i945: add timestamps in romstage
It is able to do so if timestamps are initialized. Change-Id: Ic95313a19646b66dc1633fb680e54bfc61ec90be Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: https://review.coreboot.org/27330 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
05b7cab1d7
commit
771328f7df
|
@ -29,6 +29,7 @@
|
|||
#include "chip.h"
|
||||
#include <cbmem.h>
|
||||
#include <device/dram/ddr2.h>
|
||||
#include <timestamp.h>
|
||||
|
||||
/* Debugging macros. */
|
||||
#if IS_ENABLED(CONFIG_DEBUG_RAM_SETUP)
|
||||
|
@ -2735,6 +2736,7 @@ void sdram_initialize(int boot_path, const u8 *spd_addresses)
|
|||
struct sys_info sysinfo;
|
||||
u8 reg8;
|
||||
|
||||
timestamp_add_now(TS_BEFORE_INITRAM);
|
||||
printk(BIOS_DEBUG, "Setting up RAM controller.\n");
|
||||
|
||||
memset(&sysinfo, 0, sizeof(sysinfo));
|
||||
|
@ -2836,4 +2838,5 @@ void sdram_initialize(int boot_path, const u8 *spd_addresses)
|
|||
printk(BIOS_DEBUG, "RAM initialization finished.\n");
|
||||
|
||||
sdram_setup_processor_side();
|
||||
timestamp_add_now(TS_AFTER_INITRAM);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue