Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/81384?usp=email )
Change subject: vc/amd/opensil/genoa_poc/mpio: add debug output for unused chip ......................................................................
vc/amd/opensil/genoa_poc/mpio: add debug output for unused chip
Print that the MPIO chip of one of the MPIO-related PCI device functions is unused and is skipped, if the type is IFTYPE_UNUSED and the corresponding PCI device function isn't enabled. This allows to differentiate between this case and the case where the type isn't IFTYPE_UNUSED.
Signed-off-by: Felix Held felix-coreboot@felixheld.de Change-Id: I4fc28d39a229494b487b300b28f92bf3adad66f5 --- M src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/84/81384/1
diff --git a/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c b/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c index d79e917..089096f 100644 --- a/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c +++ b/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c @@ -138,6 +138,8 @@ if (is_dev_enabled(dev)) { printk(BIOS_WARNING, "Unused MPIO chip, disabling PCI device.\n"); dev->enabled = false; + } else { + printk(BIOS_DEBUG, "Unused MPIO chip, skipping.\n"); } return; }