summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/security/vboot/vboot_loader.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/security/vboot/vboot_loader.c b/src/security/vboot/vboot_loader.c
index 9ca625938f..482c6fb7c5 100644
--- a/src/security/vboot/vboot_loader.c
+++ b/src/security/vboot/vboot_loader.c
@@ -10,6 +10,7 @@
#include <security/vboot/misc.h>
#include <security/vboot/symbols.h>
#include <security/vboot/vboot_common.h>
+#include <timestamp.h>
/* Ensure vboot configuration is valid: */
_Static_assert(CONFIG(VBOOT_STARTS_IN_BOOTBLOCK) +
@@ -51,8 +52,10 @@ void vboot_run_logic(void)
printk(BIOS_DEBUG, "VBOOT: Loading verstage.\n");
+ timestamp_add_now(TS_START_COPYVER);
if (cbfs_prog_stage_load(&verstage))
die("failed to load verstage");
+ timestamp_add_now(TS_END_COPYVER);
/* verify and select a slot */
prog_run(&verstage);