From 8e3b842b8baac7b97100568d1102f83a9868173a Mon Sep 17 00:00:00 2001 From: Damien Zammit Date: Sat, 23 Feb 2019 14:18:07 +1100 Subject: intelmetool: Add more flag descriptions Obtained by inspecting intel SPSinfo tool output Change-Id: I69eb0dd86761984b6f0a450b7d8757268b0b248e Author: roncapat Signed-off-by: Damien Zammit Reviewed-on: https://review.coreboot.org/c/coreboot/+/31589 Reviewed-by: Paul Menzel Reviewed-by: Philipp Deppenwiese Tested-by: build bot (Jenkins) --- util/intelmetool/me.h | 3 +++ util/intelmetool/me_status.c | 3 +++ 2 files changed, 6 insertions(+) (limited to 'util') diff --git a/util/intelmetool/me.h b/util/intelmetool/me.h index dfd5cbb92b..6a208070ba 100644 --- a/util/intelmetool/me.h +++ b/util/intelmetool/me.h @@ -33,6 +33,8 @@ #define ME_HFS_CWS_RESET 0 #define ME_HFS_CWS_INIT 1 #define ME_HFS_CWS_REC 2 +#define ME_HFS_CWS_TEST 3 +#define ME_HFS_CWS_DISABLED 4 #define ME_HFS_CWS_NORMAL 5 #define ME_HFS_CWS_WAIT 6 #define ME_HFS_CWS_TRANS 7 @@ -45,6 +47,7 @@ #define ME_HFS_STATE_ERROR 7 #define ME_HFS_ERROR_NONE 0 #define ME_HFS_ERROR_UNCAT 1 +#define ME_HFS_ERROR_DISABLED 2 #define ME_HFS_ERROR_IMAGE 3 #define ME_HFS_ERROR_DEBUG 4 #define ME_HFS_MODE_NORMAL 0 diff --git a/util/intelmetool/me_status.c b/util/intelmetool/me_status.c index 0cc670b19d..ede3e3ac48 100644 --- a/util/intelmetool/me_status.c +++ b/util/intelmetool/me_status.c @@ -24,6 +24,8 @@ static const char *me_cws_values[] = { [ME_HFS_CWS_RESET] = "Reset", [ME_HFS_CWS_INIT] = "Initializing", [ME_HFS_CWS_REC] = "Recovery", + [ME_HFS_CWS_TEST] = "Test", + [ME_HFS_CWS_DISABLED] = "Disabled", [ME_HFS_CWS_NORMAL] = "Normal", [ME_HFS_CWS_WAIT] = "Platform Disable Wait", [ME_HFS_CWS_TRANS] = "OP State Transition", @@ -53,6 +55,7 @@ static const char *me_opmode_values[] = { static const char *me_error_values[] = { [ME_HFS_ERROR_NONE] = "No Error", [ME_HFS_ERROR_UNCAT] = "Uncategorized Failure", + [ME_HFS_ERROR_DISABLED] = "Disabled", [ME_HFS_ERROR_IMAGE] = "Image Failure", [ME_HFS_ERROR_DEBUG] = "Debug Failure" }; -- cgit v1.2.3