soc/intel/cannonlake: 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: I7f7b2c688e46534046dc0976458c4c96614100b0 Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36351 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
parent
e0ad1fa7c8
commit
1f30de08f6
|
@ -460,6 +460,12 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
|
|||
params->SpiFlashCfgLockDown = 1;
|
||||
#endif
|
||||
}
|
||||
|
||||
dev = pcidev_path_on_root(SA_DEVFN_IGD);
|
||||
if (CONFIG(RUN_FSP_GOP) && dev && dev->enabled)
|
||||
params->PeiGraphicsPeimInit = 1;
|
||||
else
|
||||
params->PeiGraphicsPeimInit = 0;
|
||||
}
|
||||
|
||||
/* Mainboard GPIO Configuration */
|
||||
|
|
Loading…
Reference in New Issue