summaryrefslogtreecommitdiff
path: root/src/include/console
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2019-05-16 11:46:27 -0600
committerDuncan Laurie <dlaurie@chromium.org>2019-05-22 16:52:48 +0000
commit1835bf0fd4b77ab3eae1fb085be1667d13ed3144 (patch)
tree3398098301f8ac691c616a98ec08c070dbaa8054 /src/include/console
parent7006458777483291abfca790beb48f201ba74c37 (diff)
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 <keithshort@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32771 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/include/console')
-rw-r--r--src/include/console/post_codes.h7
1 files changed, 7 insertions, 0 deletions
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
@@ -326,6 +326,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
*
* An error with the TPM, either unexepcted state or communications failure.