soc/intel/skylake: Enable SA IMGU depending on devicetree configuration
Currently, SA IMGU gets enabled by the option SaImguEnable, but this duplicates the devicetree on/off options. Therefore, depend on the devicetree for the enablement of the SA IMGU controller. All corresponding mainboards were checked if the devicetree configuration matches the SaImguEnable setting, and missing entries were added. Change-Id: I293a20a321c75f82a57cbd5339656d93509b7aa6 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44031 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner
This commit is contained in:
committed by
Michael Niewöhner
parent
88264ef30b
commit
4d5c4e069c
@@ -230,7 +230,9 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
|
||||
sizeof(params->SerialIoDevMode));
|
||||
|
||||
params->PchCio2Enable = config->Cio2Enable;
|
||||
params->SaImguEnable = config->SaImguEnable;
|
||||
|
||||
dev = pcidev_path_on_root(SA_DEVFN_IMGU);
|
||||
params->SaImguEnable = dev && dev->enabled;
|
||||
|
||||
dev = pcidev_path_on_root(PCH_DEVFN_CSE_3);
|
||||
params->Heci3Enabled = dev ? dev->enabled : 0;
|
||||
|
Reference in New Issue
Block a user