From 92469e04c1c52bd60a8a37f017d865d0a838bff5 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Tue, 14 Oct 2014 15:18:38 -0700 Subject: [PATCH] timestamp: Add bootblock start and end to timestamp constants BUG=chrome-os-partner:32973 BRANCH=None TEST=cbmem -t to check proper timestamps on ryu Change-Id: I95419a6d240c168c8b6a489cac969390ecf6dea0 Signed-off-by: Furquan Shaikh Reviewed-on: https://chromium-review.googlesource.com/223345 Reviewed-by: Aaron Durbin Tested-by: Furquan Shaikh Commit-Queue: Furquan Shaikh --- src/include/timestamp.h | 2 ++ util/cbmem/cbmem.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/include/timestamp.h b/src/include/timestamp.h index a4cfc6ab17..ff7fa464be 100644 --- a/src/include/timestamp.h +++ b/src/include/timestamp.h @@ -44,6 +44,8 @@ enum timestamp_id { TS_START_COPYRAM = 8, TS_END_COPYRAM = 9, TS_START_RAMSTAGE = 10, + TS_START_BOOTBLOCK = 11, + TS_END_BOOTBLOCK = 12, TS_DEVICE_ENUMERATE = 30, TS_DEVICE_CONFIGURE = 40, TS_DEVICE_ENABLE = 50, diff --git a/util/cbmem/cbmem.c b/util/cbmem/cbmem.c index b7aba817fa..51246f69db 100644 --- a/util/cbmem/cbmem.c +++ b/util/cbmem/cbmem.c @@ -384,6 +384,8 @@ static const struct timestamp_id_to_name { { TS_START_COPYRAM, "start of copying ram stage" }, { TS_END_COPYRAM, "end of copying ram stage" }, { TS_START_RAMSTAGE, "start of ramstage" }, + { TS_START_BOOTBLOCK, "start of bootblock" }, + { TS_END_BOOTBLOCK, "end of bootblock" }, { TS_DEVICE_ENUMERATE, "device enumeration" }, { TS_DEVICE_CONFIGURE, "device configuration" }, { TS_DEVICE_ENABLE, "device enable" },