Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/45901 )
Change subject: soc/intel/jasperlake: Set the GpioOverride configuration ......................................................................
soc/intel/jasperlake: Set the GpioOverride configuration
Set "GpioOverride" config to override FSP gpio configuration. FSP will not configure any GPIOs and rely on GPIO settings programmed before moved to FSP.
BUG=b:150666058 TEST=Build and boot JSLRVP
Cq-Depend: TBD Change-Id: Ia4036cf0be3a6036d70920743958dc327a652077 Signed-off-by: Ronak Kanabar ronak.kanabar@intel.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/45901 Reviewed-by: Angel Pons th3fanbus@gmail.com Reviewed-by: Subrata Banik subrata.banik@intel.com Reviewed-by: Karthik Ramasubramanian kramasub@google.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/soc/intel/jasperlake/romstage/fsp_params.c 1 file changed, 7 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Subrata Banik: Looks good to me, approved Angel Pons: Looks good to me, approved Karthik Ramasubramanian: Looks good to me, approved
diff --git a/src/soc/intel/jasperlake/romstage/fsp_params.c b/src/soc/intel/jasperlake/romstage/fsp_params.c index dccdebf..528ef0f 100644 --- a/src/soc/intel/jasperlake/romstage/fsp_params.c +++ b/src/soc/intel/jasperlake/romstage/fsp_params.c @@ -116,6 +116,13 @@
/* Skip the CPU replacement check */ m_cfg->SkipCpuReplacementCheck = config->SkipCpuReplacementCheck; + + /* + * Set GpioOverride + * When GpioOverride is set FSP will not configure any GPIOs + * and rely on GPIO settings programmed before moved to FSP. + */ + m_cfg->GpioOverride = 1; }
void platform_fsp_memory_init_params_cb(FSPM_UPD *mupd, uint32_t version)