soc/intel/adl: Guard TWL SoC missing UPDs for build integrity
Adds config-based guards for Usb4CmMode and CnviWifiCore UPDs, specific to Twin Lake SoCs (SOC_INTEL_TWINLAKE). Prevents compilation errors due to missing UPD definitions. BUG=b:330654700 TEST=Able to build google/tivviks. Change-Id: I6e0a9a7536df6295e23bf06003539e56bb98a311 Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81376 Reviewed-by: V Sowmya <v.sowmya@intel.com> Reviewed-by: Dinesh Gehlot <digehlot@google.com> Reviewed-by: Eric Lai <ericllai@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
55a7d90a50
commit
59ee65d271
1 changed files with 4 additions and 0 deletions
|
|
@ -683,7 +683,9 @@ static void fill_fsps_tcss_params(FSP_S_CONFIG *s_cfg,
|
|||
s_cfg->UsbTcPortEn |= BIT(i);
|
||||
}
|
||||
|
||||
#if !CONFIG(SOC_INTEL_TWINLAKE)
|
||||
s_cfg->Usb4CmMode = CONFIG(SOFTWARE_CONNECTION_MANAGER);
|
||||
#endif
|
||||
}
|
||||
|
||||
static void fill_fsps_chipset_lockdown_params(FSP_S_CONFIG *s_cfg,
|
||||
|
|
@ -831,7 +833,9 @@ static void fill_fsps_cnvi_params(FSP_S_CONFIG *s_cfg,
|
|||
const struct soc_intel_alderlake_config *config)
|
||||
{
|
||||
/* CNVi */
|
||||
#if !CONFIG(SOC_INTEL_TWINLAKE)
|
||||
s_cfg->CnviWifiCore = is_devfn_enabled(PCH_DEVFN_CNVI_WIFI);
|
||||
#endif
|
||||
s_cfg->CnviMode = is_devfn_enabled(PCH_DEVFN_CNVI_WIFI);
|
||||
s_cfg->CnviBtCore = config->cnvi_bt_core;
|
||||
s_cfg->CnviBtAudioOffload = config->cnvi_bt_audio_offload;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue