diff options
author | Kane Chen <kane.chen@intel.corp-partner.google.com> | 2022-09-27 09:54:30 +0800 |
---|---|---|
committer | Nick Vaccaro <nvaccaro@google.com> | 2023-02-03 19:02:19 +0000 |
commit | 8327a7e7b416a1f720f6aaa487a4cc9d2ce28d8b (patch) | |
tree | ef45e9b9b4506e975756427f49631d0b66e24f06 /src/soc/intel/alderlake | |
parent | c9f7e115fd7b7c279ee608dfe4381b83ce33f6cb (diff) |
soc/intel/alderlake: Hook up DisableDynamicTccoldHandshake to dev tree
This commit provides a dev tree setting for partners to enable/disable
TccoldHandshake for the sighting in doc:723158
BUG=b:221461379
BRANCH=firmware-brya-14505.B
TEST=compile ok and FSP UPD is config properly
Change-Id: Ica13b98204acebef7f0b9a4411b4ac19f53cad6e
Signed-off-by: Kane Chen <kane.chen@intel.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68635
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/alderlake')
-rw-r--r-- | src/soc/intel/alderlake/chip.h | 7 | ||||
-rw-r--r-- | src/soc/intel/alderlake/romstage/fsp_params.c | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/soc/intel/alderlake/chip.h b/src/soc/intel/alderlake/chip.h index 8e76e555ec..33549bcc72 100644 --- a/src/soc/intel/alderlake/chip.h +++ b/src/soc/intel/alderlake/chip.h @@ -680,6 +680,13 @@ struct soc_intel_alderlake_config { * IGD panel configuration */ struct i915_gpu_panel_config panel_cfg; + + /* + * Enable or Disable Tccold Handshake + * Default is set to 0. + * Set this to 1 in order to disable Tccold Handshake + */ + bool disable_dynamic_tccold_handshake; }; typedef struct soc_intel_alderlake_config config_t; diff --git a/src/soc/intel/alderlake/romstage/fsp_params.c b/src/soc/intel/alderlake/romstage/fsp_params.c index 2e8a73cac8..df94e487a4 100644 --- a/src/soc/intel/alderlake/romstage/fsp_params.c +++ b/src/soc/intel/alderlake/romstage/fsp_params.c @@ -270,6 +270,11 @@ static void fill_fspm_tcss_params(FSP_M_CONFIG *m_cfg, /* TCSS DMA */ m_cfg->TcssDma0En = is_devfn_enabled(SA_DEVFN_TCSS_DMA0); m_cfg->TcssDma1En = is_devfn_enabled(SA_DEVFN_TCSS_DMA1); + +#if CONFIG(SOC_INTEL_RAPTORLAKE) + m_cfg->DisableDynamicTccoldHandshake = + config->disable_dynamic_tccold_handshake; +#endif } static void fill_fspm_usb4_params(FSP_M_CONFIG *m_cfg, |