summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/intel/alderlake/fsp_params.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/soc/intel/alderlake/fsp_params.c b/src/soc/intel/alderlake/fsp_params.c
index 79958064e3..31277fb5ac 100644
--- a/src/soc/intel/alderlake/fsp_params.c
+++ b/src/soc/intel/alderlake/fsp_params.c
@@ -781,6 +781,12 @@ static void fill_fsps_thermal_params(FSP_S_CONFIG *s_cfg,
s_cfg->TccActivationOffset = config->tcc_offset;
}
+static void fill_fsps_gna_params(FSP_S_CONFIG *s_cfg,
+ const struct soc_intel_alderlake_config *config)
+{
+ s_cfg->GnaEnable = is_devfn_enabled(SA_DEVFN_GNA);
+}
+
static void fill_fsps_lan_params(FSP_S_CONFIG *s_cfg,
const struct soc_intel_alderlake_config *config)
{
@@ -1163,6 +1169,7 @@ static void soc_silicon_init_params(FSP_S_CONFIG *s_cfg,
fill_fsps_uart_params,
fill_fsps_sata_params,
fill_fsps_thermal_params,
+ fill_fsps_gna_params,
fill_fsps_lan_params,
fill_fsps_cnvi_params,
fill_fsps_vmd_params,