From ba4b26c4fc94501487f01b1b0827ed4404d7e421 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Wed, 30 Apr 2025 12:49:23 -0500 Subject: [PATCH] soc/intel/meteorlake: Hook up S0ix setting to option API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hook up the s0ix_enable setting to the option API, so it can be changed at runtime without recompilation. Default to the value set by the mainboard. Change-Id: Id9e75020ab359bf94c75ffc1aaaef7af83d4c9c6 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/87501 Reviewed-by: Jérémy Compostella Reviewed-by: Sean Rhodes Tested-by: build bot (Jenkins) --- src/soc/intel/meteorlake/fsp_params.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/soc/intel/meteorlake/fsp_params.c b/src/soc/intel/meteorlake/fsp_params.c index ad85702dbe..a14d385ecf 100644 --- a/src/soc/intel/meteorlake/fsp_params.c +++ b/src/soc/intel/meteorlake/fsp_params.c @@ -784,6 +784,9 @@ static void soc_silicon_init_params(FSP_S_CONFIG *s_cfg, /* Override settings per board if required. */ mainboard_update_soc_chip_config(config); + /* Runtime configuration of S0ix */ + config->s0ix_enable = get_uint_option("s0ix_enable", config->s0ix_enable); + void (*fill_fsps_params[])(FSP_S_CONFIG *s_cfg, const struct soc_intel_meteorlake_config *config) = { fill_fsps_lpss_params,