From 5ece96a00f0701a0035f13584a4460e881d8ed5d Mon Sep 17 00:00:00 2001 From: Shawn Nematbakhsh Date: Tue, 27 Oct 2015 13:53:02 -0700 Subject: [PATCH] util/cbmem: Handle EC_VBOOT_DONE timestamp This timestamp marks that EC verification has completed. BUG=chromium:537269 TEST=Run cbmem on glados, verify "1030:finished EC verification" is seen. BRANCH=None Change-Id: I0114febae689584ec8b12c169e70f2d3995d8d4d Signed-off-by: Patrick Georgi Original-Commit-Id: deeb2ab8085e5ea0a180633eb8fb1c86aadffe94 Original-Signed-off-by: Shawn Nematbakhsh Original-Change-Id: I4f09e970ffedc967c82e6283973cbbcb2fbe037f Original-Reviewed-on: https://chromium-review.googlesource.com/309280 Original-Commit-Ready: Shawn N Original-Tested-by: Shawn N Original-Reviewed-by: Julius Werner Reviewed-on: http://review.coreboot.org/12230 Reviewed-by: Shawn Nematbakhsh Tested-by: build bot (Jenkins) --- util/cbmem/cbmem.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util/cbmem/cbmem.c b/util/cbmem/cbmem.c index 69ffbaf4e3..9a7ba775a8 100644 --- a/util/cbmem/cbmem.c +++ b/util/cbmem/cbmem.c @@ -422,6 +422,8 @@ enum additional_timestamp_id { TS_VB_SELECT_AND_LOAD_KERNEL = 1020, + TS_VB_EC_VBOOT_DONE = 1030, + TS_CROSSYSTEM_DATA = 1100, TS_START_KERNEL = 1101 }; @@ -476,6 +478,7 @@ static const struct timestamp_id_to_name { { TS_RO_VB_SELECT_AND_LOAD_KERNEL, "RO vboot select&load kernel" }, { TS_RW_VB_SELECT_AND_LOAD_KERNEL, "RW vboot select&load kernel" }, { TS_VB_SELECT_AND_LOAD_KERNEL, "vboot select&load kernel" }, + { TS_VB_EC_VBOOT_DONE, "finished EC verification" }, { TS_CROSSYSTEM_DATA, "crossystem data" }, { TS_START_KERNEL, "start kernel" },