summaryrefslogtreecommitdiff
path: root/util/cbmem
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2016-01-25 18:35:52 -0800
committerPatrick Georgi <pgeorgi@google.com>2016-02-04 17:34:30 +0100
commitf55e7ddbd6635c89f9da020a3874d6722c32626c (patch)
treed4e1f47c8ce022922b97c40819f4df42a22b445e /util/cbmem
parent5dbefd9ff672dd9bbcbbf20441fcb7909137b584 (diff)
downloadcoreboot-f55e7ddbd6635c89f9da020a3874d6722c32626c.tar.xz
util/cbmem: Add new depthcharge timestamps
This patch adds strings for the timestamp changes and additions in the Chrome OS bootloader (depthcharge). See http://crosreview.com/323783 for details and justification. BRANCH=none BUG=None TEST=Booted Oak, confirmed that cbmem output includes new timestamps. Change-Id: I9ad68edca660f4e4286e680316b4e14f1259d1bc Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: c1b1f6d669f62217ed701cd3561b9d14973d890a Original-Change-Id: I7256ca62c69f2ab7279fd2656fbbfa610e04fc44 Original-Signed-off-by: Julius Werner <jwerner@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/323871 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/13576 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util/cbmem')
-rw-r--r--util/cbmem/cbmem.c17
1 files changed, 11 insertions, 6 deletions
diff --git a/util/cbmem/cbmem.c b/util/cbmem/cbmem.c
index f58fcf77c7..465ab4bb1e 100644
--- a/util/cbmem/cbmem.c
+++ b/util/cbmem/cbmem.c
@@ -470,11 +470,13 @@ enum additional_timestamp_id {
TS_RW_VB_SELECT_AND_LOAD_KERNEL = 1010,
TS_VB_SELECT_AND_LOAD_KERNEL = 1020,
-
TS_VB_EC_VBOOT_DONE = 1030,
+ TS_VB_STORAGE_INIT_DONE = 1040,
+ TS_VB_READ_KERNEL_DONE = 1050,
+ TS_VB_VBOOT_DONE = 1100,
- TS_CROSSYSTEM_DATA = 1100,
- TS_START_KERNEL = 1101
+ TS_START_KERNEL = 1101,
+ TS_KERNEL_DECOMPRESSION = 1102,
};
static const struct timestamp_id_to_name {
@@ -531,9 +533,12 @@ 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" },
+ { TS_VB_EC_VBOOT_DONE, "finished EC verification" },
+ { TS_VB_STORAGE_INIT_DONE, "finished storage device initialization" },
+ { TS_VB_READ_KERNEL_DONE, "finished reading kernel from disk" },
+ { TS_VB_VBOOT_DONE, "finished vboot kernel verification" },
+ { TS_KERNEL_DECOMPRESSION, "starting kernel decompression/relocation" },
+ { TS_START_KERNEL, "jumping to kernel" },
/* FSP related timestamps */
{ TS_FSP_MEMORY_INIT_START, "calling FspMemoryInit" },