diff --git a/src/soc/intel/pantherlake/crashlog.c b/src/soc/intel/pantherlake/crashlog.c index 0f288efe14..d9a80f46c1 100644 --- a/src/soc/intel/pantherlake/crashlog.c +++ b/src/soc/intel/pantherlake/crashlog.c @@ -17,7 +17,7 @@ #define CRASHLOG_NODES_COUNT 0x1 #define CRASHLOG_PUNIT_STORAGE_OFF_MASK BIT(24) #define CRASHLOG_RE_ARM_STATUS_MASK BIT(25) -#define CRASHLOG_CONSUMED_MASK BIT(31) +#define CRASHLOG_CONSUMED_BIOS_MASK BIT(27) /* Global crashLog info */ static bool m_pmc_crash_log_support; @@ -327,7 +327,7 @@ static bool cpu_cl_gen_discovery_table(void) continue; u32 dw0 = read32p(disc_tab_addr + cur_offset); - if (dw0 & CRASHLOG_CONSUMED_MASK) { + if (dw0 & CRASHLOG_CONSUMED_BIOS_MASK) { printk(BIOS_DEBUG, "cpu crashlog records already consumed." "id: 0x%x dw0: 0x%x\n", i, dw0); break;