aboutsummaryrefslogtreecommitdiff
path: root/src/device/pnp_device.c
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2020-01-30 19:52:23 +0100
committerFelix Held <felix-coreboot@felixheld.de>2020-02-01 01:45:03 +0000
commit24d0ed79785c07fcea7bb55b8e1cf1ca08f54cfe (patch)
treee7682ef7638fcc6395803b8acff1208a9f4dcf03 /src/device/pnp_device.c
parentd6900a96e09726246e1747762241216e28ba5f16 (diff)
device/pnp_device: improve warning/error messages
Explicitly state that the assignment is missing in the devicetree. In the case of the warnings, the missing assignments might not be an issue. Change-Id: Ic0b2f19496c8b4cd6340b0b8a8d0155f8ad05a43 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38655 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/device/pnp_device.c')
-rw-r--r--src/device/pnp_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device/pnp_device.c b/src/device/pnp_device.c
index 81aa8890b2..dc921e777e 100644
--- a/src/device/pnp_device.c
+++ b/src/device/pnp_device.c
@@ -129,12 +129,12 @@ static void pnp_set_resource(struct device *dev, struct resource *resource)
(resource->index != PNP_IDX_IRQ0) &&
(resource->index != PNP_IDX_IRQ1))
printk(BIOS_WARNING, "WARNING: %s %02lx %s size: "
- "0x%010llx not assigned\n", dev_path(dev),
+ "0x%010llx not assigned in devicetree\n", dev_path(dev),
resource->index, resource_type(resource),
resource->size);
else
printk(BIOS_ERR, "ERROR: %s %02lx %s size: 0x%010llx "
- "not assigned\n", dev_path(dev), resource->index,
+ "not assigned in devicetree\n", dev_path(dev), resource->index,
resource_type(resource), resource->size);
return;
}