summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/alderlake/chip.h7
-rw-r--r--src/soc/intel/alderlake/romstage/fsp_params.c5
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,