From 1835bf0fd4b77ab3eae1fb085be1667d13ed3144 Mon Sep 17 00:00:00 2001 From: Keith Short Date: Thu, 16 May 2019 11:46:27 -0600 Subject: post_code: add post code for critical CBFS failures Add a new post code POST_INVALID_CBFS, used when coreboot fails to locate or validate a resource that is stored in CBFS. BUG=b:124401932 BRANCH=sarien TEST=build coreboot for sarien and arcada platforms Change-Id: If1c8b92889040f9acd6250f847db02626809a987 Signed-off-by: Keith Short Reviewed-on: https://review.coreboot.org/c/coreboot/+/32771 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- src/include/console/post_codes.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/include/console') diff --git a/src/include/console/post_codes.h b/src/include/console/post_codes.h index 775f78d603..7bd1ee0798 100644 --- a/src/include/console/post_codes.h +++ b/src/include/console/post_codes.h @@ -325,6 +325,13 @@ */ #define POST_INVALID_ROM 0xe0 +/** + * \brief Invalid or corrupt CBFS + * + * Set if firmware failed to find or validate a resource that is stored in CBFS. + */ +#define POST_INVALID_CBFS 0xe1 + /** * \brief TPM failure * -- cgit v1.2.3