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>
This commit is contained in:
parent
b526da297c
commit
d7738f7dd2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user