soc/intel/pantherlake: Update Crashlog config
This will configure CpuCrashLogEnable regardless of Tracehub configuration as Crashlog feature does not have a dependency with Tracehub. TEST=Build fatcat and check Crashlog is enabled without enabling Tracehub. Change-Id: I6f37e9f4a1f55ffc576af955c92d4073068eb97a Signed-off-by: Jamie Ryu <jamie.m.ryu@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85614 Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
This commit is contained in:
parent
34829c6a97
commit
32654a4d0b
1 changed files with 2 additions and 1 deletions
|
|
@ -249,11 +249,12 @@ static void fill_fspm_vtd_params(FSP_M_CONFIG *m_cfg,
|
|||
static void fill_fspm_trace_params(FSP_M_CONFIG *m_cfg,
|
||||
const struct soc_intel_pantherlake_config *config)
|
||||
{
|
||||
m_cfg->CpuCrashLogEnable = CONFIG(SOC_INTEL_CRASHLOG);
|
||||
|
||||
if (!CONFIG(SOC_INTEL_COMMON_BLOCK_TRACEHUB))
|
||||
return;
|
||||
|
||||
m_cfg->PlatformDebugOption = CONFIG_SOC_INTEL_COMMON_DEBUG_CONSENT;
|
||||
m_cfg->CpuCrashLogEnable = CONFIG(SOC_INTEL_CRASHLOG);
|
||||
|
||||
switch (CONFIG_SOC_INTEL_COMMON_DEBUG_CONSENT) {
|
||||
case HW_DEBUG_TRACEHUB_ACTIVE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue