aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/console/post_codes.h7
-rw-r--r--src/soc/intel/quark/romstage/fsp2_0.c3
2 files changed, 9 insertions, 1 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.
diff --git a/src/soc/intel/quark/romstage/fsp2_0.c b/src/soc/intel/quark/romstage/fsp2_0.c
index 2ec16c9f34..e4abcc034a 100644
--- a/src/soc/intel/quark/romstage/fsp2_0.c
+++ b/src/soc/intel/quark/romstage/fsp2_0.c
@@ -116,7 +116,8 @@ void platform_fsp_memory_init_params_cb(FSPM_UPD *fspm_upd, uint32_t version)
/* Locate the RMU data file in flash */
rmu_data = locate_rmu_file(&rmu_data_len);
if (!rmu_data)
- die("Microcode file (rmu.bin) not found.");
+ die_with_post_code(POST_INVALID_CBFS,
+ "Microcode file (rmu.bin) not found.");
/* Locate the configuration data from devicetree.cb */
dev = pcidev_path_on_root(LPC_DEV_FUNC);