diff options
author | Subrata Banik <subrata.banik@intel.com> | 2021-06-21 19:25:17 +0530 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2021-06-23 08:26:17 +0000 |
commit | 3b374bebac10ccf08a4741e86b03d4353072d625 (patch) | |
tree | bf5cfd681aeebc4f0c2d9ebf4a08d382e6bac0e4 /src/soc/samsung/exynos5250/uart.c | |
parent | 5dea3162506270e713347c9ca67717d292007cbd (diff) |
soc/intel/cannonlake: 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: I64ab77bc49d93aca1da0126d849e69ff75b182a3
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55726
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/soc/samsung/exynos5250/uart.c')
0 files changed, 0 insertions, 0 deletions