diff options
author | Jeremy Soller <jackpot51@gmail.com> | 2022-05-26 10:21:36 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-09-16 16:17:19 +0000 |
commit | 9601b1e273accfbff816cd6e7627862166cfb472 (patch) | |
tree | 0c0004a227fd4e1fa055e51e64389e93e3277b41 /src/soc/intel/alderlake | |
parent | 3541c31add6661188556d9d856fd7fb97d74201a (diff) |
soc/intel/alderlake: Set FSP-S GnaEnable based on devicetree
Change-Id: Ifd25416c55c4dba1709f74cdedc0c58e881d6266
Signed-off-by: Jeremy Soller <jeremy@system76.com>
Signed-off-by: Tim Crawford <tcrawford@system76.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66090
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel/alderlake')
-rw-r--r-- | src/soc/intel/alderlake/fsp_params.c | 7 |
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, |