From d7738f7dd205823710fbc30a2b811a3b2e7e42ae Mon Sep 17 00:00:00 2001 From: Felix Held <felix-coreboot@felixheld.de> Date: Thu, 21 Mar 2024 22:19:30 +0100 Subject: 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> --- src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c b/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c index 2ad10af636..d79e917bb6 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 @@ static void per_device_config(MPIOCLASS_INPUT_BLK *mpio_data, struct device *dev 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; -- cgit v1.2.3