soc/intel/skylake: Enable SDXC depending on devicetree configuration
Currently, SDXC gets enabled by the option ScsSdCardEnabled, but this duplicates the devicetree on/off options. Therefore, depend on the devicetree for the enablement of the SDXC controller. All corresponding mainboards were checked if the devicetree configuration matches the ScsSdCardEnabled setting, and missing entries were added. Change-Id: I298b7d0b0fe2a7346dbadcea4be22dc67fce4de8 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44028 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
0da148e326
commit
52919523c1
@ -257,7 +257,9 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
|
||||
dev = pcidev_path_on_root(PCH_DEVFN_EMMC);
|
||||
params->ScsEmmcEnabled = dev ? dev->enabled : 0;
|
||||
params->ScsEmmcHs400Enabled = config->ScsEmmcHs400Enabled;
|
||||
params->ScsSdCardEnabled = config->ScsSdCardEnabled;
|
||||
|
||||
dev = pcidev_path_on_root(PCH_DEVFN_SDCARD);
|
||||
params->ScsSdCardEnabled = dev && dev->enabled;
|
||||
|
||||
if (!!params->ScsEmmcHs400Enabled && !!config->EmmcHs400DllNeed) {
|
||||
params->PchScsEmmcHs400DllDataValid =
|
||||
|
Reference in New Issue
Block a user