Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/81383?usp=email )
Change subject: vc/amd/opensil/genoa_poc/mpio: fix unused MPIO chip warning ......................................................................
vc/amd/opensil/genoa_poc/mpio: fix unused MPIO chip warning
When the chip of one of the MPIO-related PCI device functions has the type IFTYPE_UNUSED, there is no corresponding MPIO engine, so replace 'engine' with 'chip' in the warning.
Signed-off-by: Felix Held felix-coreboot@felixheld.de Change-Id: I0f55a3f8e1d220d4eb7b0287d03b7af2e5d2889f Reviewed-on: https://review.coreboot.org/c/coreboot/+/81383 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Varshit Pandya pandyavarshit@gmail.com Reviewed-by: Arthur Heymans arthur@aheymans.xyz --- M src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Arthur Heymans: Looks good to me, approved Varshit Pandya: Looks good to me, approved build bot (Jenkins): Verified
diff --git a/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c b/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c index 2ad10af..d79e917 100644 --- a/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c +++ b/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c @@ -136,7 +136,7 @@
if (config->type == IFTYPE_UNUSED) { if (is_dev_enabled(dev)) { - printk(BIOS_WARNING, "Unused MPIO engine, disabling PCI device.\n"); + printk(BIOS_WARNING, "Unused MPIO chip, disabling PCI device.\n"); dev->enabled = false; } return;