summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-11-03 08:18:15 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-11-05 13:42:10 +0000
commitfe3250dbe6b27df7aa0cf0fa432a0b6a1ca5ebb8 (patch)
treecb42fb911b5122958b8fa32a42178f662b3e0259 /src
parentcc5193604f1b2fcd6659888df22a1a6e06635482 (diff)
downloadcoreboot-fe3250dbe6b27df7aa0cf0fa432a0b6a1ca5ebb8.tar.xz
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>
Diffstat (limited to 'src')
-rw-r--r--src/lib/bootblock.c4
1 files changed, 4 insertions, 0 deletions
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();
}