From 8586b4020d8f8c95f8a88d877a8220be94086395 Mon Sep 17 00:00:00 2001 From: Ronak Kanabar Date: Thu, 1 Oct 2020 18:03:09 +0530 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/45901 Reviewed-by: Angel Pons Reviewed-by: Subrata Banik Reviewed-by: Karthik Ramasubramanian Tested-by: build bot (Jenkins) --- src/soc/intel/jasperlake/romstage/fsp_params.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/soc/intel') diff --git a/src/soc/intel/jasperlake/romstage/fsp_params.c b/src/soc/intel/jasperlake/romstage/fsp_params.c index dccdebf304..528ef0fd21 100644 --- a/src/soc/intel/jasperlake/romstage/fsp_params.c +++ b/src/soc/intel/jasperlake/romstage/fsp_params.c @@ -116,6 +116,13 @@ static void soc_memory_init_params(FSP_M_CONFIG *m_cfg, /* 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) -- cgit v1.2.3