summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2023-02-10 21:04:30 +0530
committerEric Lai <eric_lai@quanta.corp-partner.google.com>2023-02-14 02:58:24 +0000
commitf57eb1a6402e5664f5cdc77e161b2327238aef4f (patch)
treea631eeb2e9fc5c7e982b5a4db2cc6b7db399bce0 /src/soc
parentcad99d8c177f1ce0a81d2a7976444333ca5c3f39 (diff)
soc/intel/meteorlake: Hook up `SkipExtGfxScan` FSP-M UPD
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 <subratabanik@google.com> Change-Id: I00e15b71ed67119df9ca6f98a750ede109ff33fe Reviewed-on: https://review.coreboot.org/c/coreboot/+/72947 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Dinesh Gehlot <digehlot@google.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/meteorlake/romstage/fsp_params.c2
1 files changed, 2 insertions, 0 deletions
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,