From b8179087afea63bc10c950eb3406b4fc94a3997f Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Tue, 24 Feb 2015 11:30:38 -0800 Subject: cbmem: Add FSP timestamps Add additional FSP timestamp values to cbmem.h and specify values for the existing ones. Update cbmem.c with the FSP timestamp values and descriptions. BRANCH=none BUG=None TEST=Build for Braswell and Skylake boards using FSP 1.1. Change-Id: I835bb090ff5877a108e48cb60f8e80260773771b Signed-off-by: Lee Leahy Reviewed-on: http://review.coreboot.org/10025 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/include/timestamp.h | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'src/include') diff --git a/src/include/timestamp.h b/src/include/timestamp.h index cd648ea00b..a6bfced89e 100644 --- a/src/include/timestamp.h +++ b/src/include/timestamp.h @@ -51,16 +51,12 @@ enum timestamp_id { TS_START_ULZMA = 15, TS_END_ULZMA = 16, TS_DEVICE_ENUMERATE = 30, - TS_FSP_BEFORE_ENUMERATE, - TS_FSP_AFTER_ENUMERATE, TS_DEVICE_CONFIGURE = 40, TS_DEVICE_ENABLE = 50, TS_DEVICE_INITIALIZE = 60, TS_DEVICE_DONE = 70, TS_CBMEM_POST = 75, TS_WRITE_TABLES = 80, - TS_FSP_BEFORE_FINALIZE, - TS_FSP_AFTER_FINALIZE, TS_LOAD_PAYLOAD = 90, TS_ACPI_WAKE_JUMP = 98, TS_SELFBOOT_JUMP = 99, @@ -77,6 +73,18 @@ enum timestamp_id { TS_DONE_HASHING = 509, TS_END_HASH_BODY = 510, + /* 950+ reserved for vendorcode extensions (950-999: intel/fsp) */ + TS_FSP_MEMORY_INIT_START = 950, + TS_FSP_MEMORY_INIT_END = 951, + TS_FSP_TEMP_RAM_EXIT_START = 952, + TS_FSP_TEMP_RAM_EXIT_END = 953, + TS_FSP_SILICON_INIT_START = 954, + TS_FSP_SILICON_INIT_END = 955, + TS_FSP_BEFORE_ENUMERATE = 956, + TS_FSP_AFTER_ENUMERATE = 957, + TS_FSP_BEFORE_FINALIZE = 958, + TS_FSP_AFTER_FINALIZE = 959, + /* 1000+ reserved for payloads (1000-1200: ChromeOS depthcharge) */ }; -- cgit v1.2.3