bootblock: Add TS_START_BOOTBLOCK and TS_END_BOOTBLOCK
Change-Id: I5617e5d9b7238ad7a894934910a3eae742d2d22d
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36594
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/lib/bootblock.c b/src/lib/bootblock.c
index 19841c6..5fb6067 100644
--- a/src/lib/bootblock.c
+++ b/src/lib/bootblock.c
@@ -51,6 +51,8 @@
timestamps[i].entry_stamp);
}
+ timestamp_add_now(TS_START_BOOTBLOCK);
+
bootblock_soc_early_init();
bootblock_mainboard_early_init();
@@ -65,6 +67,8 @@
bootblock_soc_init();
bootblock_mainboard_init();
+ timestamp_add_now(TS_END_BOOTBLOCK);
+
run_romstage();
}