diff options
author | Subrata Banik <subrata.banik@intel.com> | 2021-06-21 19:07:48 +0530 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2021-06-23 08:25:37 +0000 |
commit | c3a5c0558d39da153f291267f76bb4693ea0955d (patch) | |
tree | 4d302fb88506f7a0eada47ddfa27d7a582ea4e11 /util/cbfstool/flashmap | |
parent | 1a5d4120e63015b4e6024f37f77c0c8af2177a65 (diff) |
soc/intel/tigerlake: 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: I0e400ded7ba268a5f289b0ac568598e0dad1899a
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55722
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/cbfstool/flashmap')
0 files changed, 0 insertions, 0 deletions