From 67d97a27053347dc9c999ab89c7b4178a537b67b Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Tue, 27 Jul 2021 21:12:20 +0530 Subject: commonlib: Add timestamp strings for TS_FSP_MULTI_PHASE_SI_INIT_x TEST=Refer to `cbmem -t` output below: Without this code changes, timestamp ids 962 and 963 are listed as `unknown`. 962: 1,704,863 (157) 963: 1,704,878 (14) With this code changes, lists the timestamps along with the timestamp strings. 962:calling FspMultiPhaseSiInit 1,704,863 (157) 963:returning from FspMultiPhaseSiInit 1,704,878 (14) Change-Id: I528567e4cc630e15dffffd1c7684798fcdde4535 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/56641 Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/commonlib/include/commonlib/timestamp_serialized.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/commonlib/include/commonlib/timestamp_serialized.h b/src/commonlib/include/commonlib/timestamp_serialized.h index 75bcccadf3..6330b75a74 100644 --- a/src/commonlib/include/commonlib/timestamp_serialized.h +++ b/src/commonlib/include/commonlib/timestamp_serialized.h @@ -275,6 +275,8 @@ static const struct timestamp_id_to_name { { TS_FSP_TEMP_RAM_EXIT_END, "returning from FspTempRamExit" }, { TS_FSP_SILICON_INIT_START, "calling FspSiliconInit" }, { TS_FSP_SILICON_INIT_END, "returning from FspSiliconInit" }, + { TS_FSP_MULTI_PHASE_SI_INIT_START, "calling FspMultiPhaseSiInit" }, + { TS_FSP_MULTI_PHASE_SI_INIT_END, "returning from FspMultiPhaseSiInit" }, { TS_FSP_BEFORE_ENUMERATE, "calling FspNotify(AfterPciEnumeration)" }, { TS_FSP_AFTER_ENUMERATE, "returning from FspNotify(AfterPciEnumeration)" }, -- cgit v1.2.3