soc/intel/skylake: Enable eMMC depending on devicetree configuration
Currently eMMC gets enabled by the option ScsEmmcEnabled, but this duplicates the devicetree on/off options. Therefore use the on/off options for the enablement of the eMMC controller. I checked all corresponding mainboards if the devicetree configuration matches the ScsEmmcEnabled setting. Change-Id: I3b86ff6e2f15991fb304b71d90c1b959cb6fcf43 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43862 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
87aecf811d
commit
aff69be254
@@ -251,7 +251,9 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
|
||||
params->PchLanClkReqNumber = config->LanClkReqNumber;
|
||||
}
|
||||
params->SsicPortEnable = config->SsicPortEnable;
|
||||
params->ScsEmmcEnabled = config->ScsEmmcEnabled;
|
||||
|
||||
dev = pcidev_path_on_root(PCH_DEVFN_EMMC);
|
||||
params->ScsEmmcEnabled = dev ? dev->enabled : 0;
|
||||
params->ScsEmmcHs400Enabled = config->ScsEmmcHs400Enabled;
|
||||
params->ScsSdCardEnabled = config->ScsSdCardEnabled;
|
||||
|
||||
|
Reference in New Issue
Block a user