summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2020-07-31 11:31:49 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-08-04 22:07:21 +0000
commit4bc8dfb8207ae13140b3e5b01d3f3e36d66143d6 (patch)
tree187968c71b41f7bfd81252eb4d9d2d637c4ee3e3 /src
parent96a80133e17c238d9f1566ea2cdc545445920968 (diff)
downloadcoreboot-4bc8dfb8207ae13140b3e5b01d3f3e36d66143d6.tar.xz
Revert "device/pci_device.c: Do not complain about disabled devices"
This reverts commit ad247ac5d8ef4a38bd1d61fbd28076f343a46c5c. It doesn't work like this. The `dev->enable` field has already been updated and is always `0` at this point. Change-Id: I5b3560dcea2f226c841f4823526db2fdab149d22 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44078 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/device/pci_device.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/device/pci_device.c b/src/device/pci_device.c
index f3cced94f0..3623c3b564 100644
--- a/src/device/pci_device.c
+++ b/src/device/pci_device.c
@@ -1297,10 +1297,6 @@ void pci_scan_bus(struct bus *bus, unsigned int min_devfn,
/* Unlink it from list. */
*prev = dev->sibling;
- /* If disabled in devicetree, do not print any messages. */
- if (!dev->enabled)
- continue;
-
if (!once++)
printk(BIOS_WARNING, "PCI: Leftover static devices:\n");
printk(BIOS_WARNING, "%s\n", dev_path(dev));