From 1e7e4e943fa4642042b8e269fc0ec20a5eb6cdb0 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Wed, 30 Apr 2025 16:40:07 -0500 Subject: [PATCH] soc/intel/tigerlake: Hook up S0ix setting to option API 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: I6c05212eaf004ea74b7fd3fa92cbaa314474b7e9 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/87503 Reviewed-by: Frans Hendriks Tested-by: build bot (Jenkins) Reviewed-by: Sean Rhodes --- src/soc/intel/tigerlake/fsp_params.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/soc/intel/tigerlake/fsp_params.c b/src/soc/intel/tigerlake/fsp_params.c index c3400b45c9..35562d1a69 100644 --- a/src/soc/intel/tigerlake/fsp_params.c +++ b/src/soc/intel/tigerlake/fsp_params.c @@ -682,6 +682,9 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd) params->SiSkipSsidProgramming = 0; mainboard_silicon_init_params(params); + + /* Runtime configuration of S0ix */ + config->s0ix_enable = get_uint_option("s0ix_enable", config->s0ix_enable); } /*