diff options
author | Subrata Banik <subrata.banik@intel.com> | 2021-06-21 19:26:10 +0530 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2021-06-23 08:26:27 +0000 |
commit | e633804375f35998bcd6f3843a0142f1c13d385e (patch) | |
tree | b7837719f230e65e7b16873dc360e107b346d52d /src/mainboard/intel | |
parent | 3b374bebac10ccf08a4741e86b03d4353072d625 (diff) |
soc/intel/alderlake: Use devfn_disable() function for XDCI
Use devfn_disable() for disabling a PCI device rather than
using `dev->enabled = 0`.
Also, use is_devfn_enabled() to get the device current state prior
updating the FSP-S UPD for XDCI.
TEST=FSP-S disabled XDCI when `xdci_can_enable` returns 0 and XDCI
is disabled at PCI enumeration `PCI: 00:14.1: enabled 0`.
Change-Id: I5e10e5d0b80986e1e73573a86a957985840fe0b3
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55727
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/intel')
0 files changed, 0 insertions, 0 deletions