summaryrefslogtreecommitdiff
path: root/src/soc/intel/icelake/acpi
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2021-06-18 12:13:43 +0530
committerSubrata Banik <subrata.banik@intel.com>2021-06-21 10:38:26 +0000
commitd6d87767cbf65f0da46bff32534b9718adcc332b (patch)
treef8c126e7ed2a371a39171b109d7494c964806e4b /src/soc/intel/icelake/acpi
parent232222727d51f2d254121738b2e3ff92b8c1dc1f (diff)
soc/intel/apollolake: Use devfn_disable() function
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:15.1: enabled 0`. Change-Id: I449beae59d2f578c027d8110c03fa79f516c3fe9 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55666 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel/icelake/acpi')
0 files changed, 0 insertions, 0 deletions