From f57eb1a6402e5664f5cdc77e161b2327238aef4f Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Fri, 10 Feb 2023 21:04:30 +0530 Subject: [PATCH] soc/intel/meteorlake: Hook up `SkipExtGfxScan` FSP-M UPD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch allows override to the `SkipExtGfxScan` UPD. Ideally a platform with an on-board graphics device should skip scanning external GFX devices aka set this UPD to `1`. BUG=b:228002764 TEST=Able to build and boot google/rex. Signed-off-by: Subrata Banik Change-Id: I00e15b71ed67119df9ca6f98a750ede109ff33fe Reviewed-on: https://review.coreboot.org/c/coreboot/+/72947 Tested-by: build bot (Jenkins) Reviewed-by: Dinesh Gehlot Reviewed-by: Eric Lai Reviewed-by: Kapil Porwal --- src/soc/intel/meteorlake/romstage/fsp_params.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/soc/intel/meteorlake/romstage/fsp_params.c b/src/soc/intel/meteorlake/romstage/fsp_params.c index 920eb53066..25c44c672e 100644 --- a/src/soc/intel/meteorlake/romstage/fsp_params.c +++ b/src/soc/intel/meteorlake/romstage/fsp_params.c @@ -190,6 +190,8 @@ static void fill_fspm_misc_params(FSP_M_CONFIG *m_cfg, /* Skip MBP HOB */ m_cfg->SkipMbpHob = !CONFIG(FSP_PUBLISH_MBP_HOB); + + m_cfg->SkipExtGfxScan = config->skip_ext_gfx_scan; } static void fill_fspm_audio_params(FSP_M_CONFIG *m_cfg,