summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/soc/intel/common/block/acpi/acpi_bert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/common/block/acpi/acpi_bert.c b/src/soc/intel/common/block/acpi/acpi_bert.c
index 7743ccc72fa0..16df60a9d247 100644
--- a/src/soc/intel/common/block/acpi/acpi_bert.c
+++ b/src/soc/intel/common/block/acpi/acpi_bert.c
@@ -68,8 +68,8 @@ static enum cb_err record_crashlog_into_bert(void **region, size_t *length)
pmc_record_size = cl_get_pmc_record_size();
if (pmc_record_size) {
- /* Allocate new FW ERR structure in case CPU crashlog is present */
- if (cpu_record_size && !bert_append_fw_err(status)) {
+ /* Allocate new FW ERR structure in case PMC crashlog is present */
+ if (pmc_record_size && !bert_append_fw_err(status)) {
printk(BIOS_ERR, "Crashlog PMC entry would "
"exceed available region\n");
return CB_ERR;