Kyösti Mälkki has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/36594 )
Change subject: bootblock: Add TS_START_BOOTBLOCK and TS_END_BOOTBLOCK ......................................................................
bootblock: Add TS_START_BOOTBLOCK and TS_END_BOOTBLOCK
Change-Id: I5617e5d9b7238ad7a894934910a3eae742d2d22d Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com --- M src/lib/bootblock.c 1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/94/36594/1
diff --git a/src/lib/bootblock.c b/src/lib/bootblock.c index 19841c6..4f5d887 100644 --- a/src/lib/bootblock.c +++ b/src/lib/bootblock.c @@ -41,6 +41,8 @@ static void bootblock_main_with_timestamp(uint64_t base_timestamp, struct timestamp_entry *timestamps, size_t num_timestamps) { + uint64_t ts_start = timestamp_get(); + /* Initialize timestamps if we have TIMESTAMP region in memlayout.ld. */ if (CONFIG(COLLECT_TIMESTAMPS) && REGION_SIZE(timestamp) > 0) { @@ -51,6 +53,8 @@ timestamps[i].entry_stamp); }
+ timestamp_add(TS_START_BOOTBLOCK, ts_start); + bootblock_soc_early_init(); bootblock_mainboard_early_init();
@@ -65,6 +69,8 @@ bootblock_soc_init(); bootblock_mainboard_init();
+ timestamp_add_now(TS_END_BOOTBLOCK); + run_romstage(); }