From 6c1b18090dc28111bd362bd9f4ae7d14b6fa5117 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Fri, 1 Nov 2019 14:09:09 +0530 Subject: soc/intel/icelake: Skip BIOS OpRom execution based on CONFIG_RUN_FSP_GOP This patch replaces BIOS OpRpm execution checks from CONFIG_INTEL_GMA_ADD_VBT to CONFIG_RUN_FSP_GOP as adding VBT files doesn't mean GFX PEIM is going to execute to initialize IGD. Change-Id: Ic76529ba11f621f644d4472be6cbbc34682f00bf Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/36532 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- src/soc/intel/icelake/graphics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/soc/intel/icelake') diff --git a/src/soc/intel/icelake/graphics.c b/src/soc/intel/icelake/graphics.c index 07090331cb..91f40b9c86 100644 --- a/src/soc/intel/icelake/graphics.c +++ b/src/soc/intel/icelake/graphics.c @@ -52,14 +52,14 @@ void graphics_soc_init(struct device *dev) /* * GFX PEIM module inside FSP binary is taking care of graphics - * initialization based on INTEL_GMA_ADD_VBT Kconfig + * initialization based on RUN_FSP_GOP Kconfig * option and input VBT file. Hence no need to load/execute legacy VGA * OpROM in order to initialize GFX. * * In case of non-FSP solution, SoC need to select VGA_ROM_RUN * Kconfig to perform GFX initialization through VGA OpRom. */ - if (CONFIG(INTEL_GMA_ADD_VBT)) + if (CONFIG(RUN_FSP_GOP)) return; /* IGD needs to Bus Master */ -- cgit v1.2.3