summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/drivers/intel/fsp2_0/memory_init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/intel/fsp2_0/memory_init.c b/src/drivers/intel/fsp2_0/memory_init.c
index f248a58c77..0797c2e3fc 100644
--- a/src/drivers/intel/fsp2_0/memory_init.c
+++ b/src/drivers/intel/fsp2_0/memory_init.c
@@ -389,6 +389,8 @@ void fsp_memory_init(bool s3wake)
struct memranges memmap;
struct range_entry freeranges[2];
+ timestamp_add_now(TS_BEFORE_INITRAM);
+
if (CONFIG(ELOG_BOOT_COUNT) && !s3wake)
boot_count_increment();
@@ -417,4 +419,6 @@ void fsp_memory_init(bool s3wake)
prog_segment_loaded(hdr.image_base, hdr.image_size, SEG_FINAL);
do_fsp_memory_init(&hdr, s3wake, &memmap);
+
+ timestamp_add_now(TS_AFTER_INITRAM);
}