aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2024-03-21 22:19:30 +0100
committerFelix Held <felix-coreboot@felixheld.de>2024-03-22 21:56:03 +0000
commitd7738f7dd205823710fbc30a2b811a3b2e7e42ae (patch)
treedd2a4843d5ef406c20155abfda3c516656a16cb4
parentb526da297c055b8cba02b3f8c8df5c9bbfd57c05 (diff)
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>
-rw-r--r--src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c2
1 files changed, 1 insertions, 1 deletions
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;