soc/intel/apollolake: Drop `xdci_can_enable()` call
The `xdci_can_enable()` function is called earlier to configure FSP-S UPDs. If it returned false, then the xDCI device will be disabled and the second `xdci_can_enable()` call will never be evaluated. Change-Id: I4bd08e3194ffccc79c8feaf8f34b2bb4077f760a Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55789 Reviewed-by: Subrata Banik <subrata.banik@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
6464c2aa4f
commit
adeac8d4f7
|
@ -40,7 +40,7 @@ static void configure_host_mode_port0(struct device *dev)
|
|||
* enabled. If it's disabled assume the switch was already done
|
||||
* in FSP.
|
||||
*/
|
||||
if (!dev->enabled || !xdci_can_enable())
|
||||
if (!dev->enabled)
|
||||
return;
|
||||
|
||||
printk(BIOS_INFO, "Putting port 0 into host mode.\n");
|
||||
|
|
Loading…
Reference in New Issue