From fe3250dbe6b27df7aa0cf0fa432a0b6a1ca5ebb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sun, 3 Nov 2019 08:18:15 +0200 Subject: [PATCH] bootblock: Add TS_START_BOOTBLOCK and TS_END_BOOTBLOCK MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5617e5d9b7238ad7a894934910a3eae742d2d22d Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/36594 Reviewed-by: Paul Menzel Reviewed-by: Arthur Heymans Tested-by: build bot (Jenkins) --- src/lib/bootblock.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/bootblock.c b/src/lib/bootblock.c index 19841c6931..5fb606731a 100644 --- a/src/lib/bootblock.c +++ b/src/lib/bootblock.c @@ -51,6 +51,8 @@ static void bootblock_main_with_timestamp(uint64_t base_timestamp, timestamps[i].entry_stamp); } + timestamp_add_now(TS_START_BOOTBLOCK); + bootblock_soc_early_init(); bootblock_mainboard_early_init(); @@ -65,6 +67,8 @@ static void bootblock_main_with_timestamp(uint64_t base_timestamp, bootblock_soc_init(); bootblock_mainboard_init(); + timestamp_add_now(TS_END_BOOTBLOCK); + run_romstage(); }