summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/common/block/crashlog/crashlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/crashlog/crashlog.c b/src/soc/intel/common/block/crashlog/crashlog.c
index 041c8bf1af..007b469ba1 100644
--- a/src/soc/intel/common/block/crashlog/crashlog.c
+++ b/src/soc/intel/common/block/crashlog/crashlog.c
@@ -379,7 +379,7 @@ void __weak cl_get_pmc_sram_data(cl_node_t *head)
return;
}
pmc_crashLog_size = (discovery_buf.bits.size != 0) ?
- discovery_buf.bits.size : 0xC00;
+ discovery_buf.bits.size * sizeof(u32) : 0xC00;
printk(BIOS_DEBUG, "PMC crashLog size in legacy mode : 0x%X\n",
pmc_crashLog_size);
}