summaryrefslogtreecommitdiff
path: root/src/include/console
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2019-05-09 11:40:34 -0600
committerDuncan Laurie <dlaurie@chromium.org>2019-05-22 17:44:53 +0000
commit15588b03b36aa875e2a2a31cc649a2d9dff7581e (patch)
tree70c054b070ca0b4f962b362d06ff62ef8a7454e9 /src/include/console
parent24302633a558e545efcc84178136bd1879f6d8ee (diff)
downloadcoreboot-15588b03b36aa875e2a2a31cc649a2d9dff7581e.tar.xz
post_code: add post code for hardware initialization failure
Add a new post code POST_HW_INIT_FAILURE, used when coreboot fails to detect or initialize a required hardware component. BUG=b:124401932 BRANCH=sarien TEST=build coreboot for sarien and arcada platforms Change-Id: I73820d24b3e1c269d9d446a78ef4f97e167e3552 Signed-off-by: Keith Short <keithshort@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32774 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 07927ec957..ae277d82e2 100644
--- a/src/include/console/post_codes.h
+++ b/src/include/console/post_codes.h
@@ -349,6 +349,13 @@
#define POST_RAM_FAILURE 0xe3
/**
+ * \brief Hardware initialization failure
+ *
+ * Set when a required hardware component was not found or is unsupported.
+ */
+#define POST_HW_INIT_FAILURE 0xe4
+
+/**
* \brief TPM failure
*
* An error with the TPM, either unexepcted state or communications failure.