summaryrefslogtreecommitdiff
path: root/src/commonlib
diff options
context:
space:
mode:
authorMartin Roth <martinroth@chromium.org>2020-11-06 10:12:00 -0700
committerPatrick Georgi <pgeorgi@google.com>2020-11-16 11:01:37 +0000
commit863b3ad45b84485561e9bc48ef6560b95fab43ad (patch)
tree5239688273bbe60a412de7c685ebdb4138eeb263 /src/commonlib
parentdf9901eacb54d530e869c88ed3752bf6b4beda90 (diff)
commonlib: Add timestamp values for forced delays
Add a timestamp entry to allow forced delays to to be seen and accounted for in the timestamp data. BUG=None TEST=Build only Signed-off-by: Martin Roth <martinroth@chromium.org> Change-Id: I26c9fa5c8599a349de2631ac24b9ea8858d8d6c8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/47312 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/commonlib')
-rw-r--r--src/commonlib/include/commonlib/timestamp_serialized.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/commonlib/include/commonlib/timestamp_serialized.h b/src/commonlib/include/commonlib/timestamp_serialized.h
index dd352adaaa..a5721506d0 100644
--- a/src/commonlib/include/commonlib/timestamp_serialized.h
+++ b/src/commonlib/include/commonlib/timestamp_serialized.h
@@ -52,6 +52,8 @@ enum timestamp_id {
TS_SELFBOOT_JUMP = 99,
TS_START_POSTCAR = 100,
TS_END_POSTCAR = 101,
+ TS_DELAY_START = 110,
+ TS_DELAY_END = 111,
/* 500+ reserved for vendorcode extensions (500-600: google/chromeos) */
TS_START_COPYVER = 501,
@@ -177,6 +179,8 @@ static const struct timestamp_id_to_name {
{ TS_LOAD_PAYLOAD, "load payload" },
{ TS_ACPI_WAKE_JUMP, "ACPI wake jump" },
{ TS_SELFBOOT_JUMP, "selfboot jump" },
+ { TS_DELAY_START, "Forced delay start" },
+ { TS_DELAY_END, "Forced delay end" },
{ TS_START_COPYVER, "starting to load verstage" },
{ TS_END_COPYVER, "finished loading verstage" },