From 42e23a67ad2cd99fe7f9658b82d9dd2109643d68 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Tue, 14 Oct 2014 15:18:38 -0700 Subject: 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 Original-Commit-Id: 92469e04c1c52bd60a8a37f017d865d0a838bff5 Original-Change-Id: I95419a6d240c168c8b6a489cac969390ecf6dea0 Original-Signed-off-by: Furquan Shaikh Original-Reviewed-on: https://chromium-review.googlesource.com/223345 Original-Reviewed-by: Aaron Durbin Original-Tested-by: Furquan Shaikh Original-Commit-Queue: Furquan Shaikh Reviewed-on: http://review.coreboot.org/9340 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- 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 ba73135258..c2bc6f148f 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 4314d3077f..7c96c6e5ce 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" }, -- cgit v1.2.3