soc/intel/skylake: set FSP param to enable or skip GOP
Set the FSP parameter PeiGraphicsPeimInit according to RUN_FSP_GOP to enable or skip GOP. Change-Id: I5731003c8a094c4d108efbea14d31d335758bbb7 Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36350 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
de09679c13
commit
d60089b7b1
|
@ -509,6 +509,12 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
|
|||
params->PchIoApicFunctionNumber = V_P2SB_IBDF_FUN;
|
||||
}
|
||||
|
||||
dev = pcidev_path_on_root(SA_DEVFN_IGD);
|
||||
if (CONFIG(RUN_FSP_GOP) && dev && dev->enabled)
|
||||
params->PeiGraphicsPeimInit = 1;
|
||||
else
|
||||
params->PeiGraphicsPeimInit = 0;
|
||||
|
||||
soc_irq_settings(params);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue