aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2014-10-14 15:18:38 -0700
committerPatrick Georgi <pgeorgi@google.com>2015-04-08 08:48:04 +0200
commit42e23a67ad2cd99fe7f9658b82d9dd2109643d68 (patch)
tree5e6fab1c8854095ae52dec61ad65ffc36fce4e82
parentf8dcdea60973b729bf9eee0fb46dccf1b4b2aeb6 (diff)
downloadcoreboot-42e23a67ad2cd99fe7f9658b82d9dd2109643d68.tar.gz
coreboot-42e23a67ad2cd99fe7f9658b82d9dd2109643d68.tar.xz
coreboot-42e23a67ad2cd99fe7f9658b82d9dd2109643d68.zip
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: Ic31c5d9f3e397d90b08fe1c5e152148f4a278b95 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 92469e04c1c52bd60a8a37f017d865d0a838bff5 Original-Change-Id: I95419a6d240c168c8b6a489cac969390ecf6dea0 Original-Signed-off-by: Furquan Shaikh <furquan@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/223345 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Original-Tested-by: Furquan Shaikh <furquan@chromium.org> Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org> Reviewed-on: http://review.coreboot.org/9340 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r--src/include/timestamp.h2
-rw-r--r--util/cbmem/cbmem.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/include/timestamp.h b/src/include/timestamp.h
index ba7313525..c2bc6f148 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_FSP_BEFORE_ENUMERATE,
TS_FSP_AFTER_ENUMERATE,
diff --git a/util/cbmem/cbmem.c b/util/cbmem/cbmem.c
index 4314d3077..7c96c6e5c 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" },