diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2024-02-20 09:58:52 -0600 |
---|---|---|
committer | Matt DeVillier <matt.devillier@gmail.com> | 2024-02-27 20:18:00 +0000 |
commit | df84fff80fed3ff1d2a04fd5701478a697ce226a (patch) | |
tree | 9048f84e64cc043cfd8e3d8784ce299a87c7e802 /src/device/pnp_device.c | |
parent | c3a34a482854592845e60f2bae3b56e1c5a6a139 (diff) |
device/pnp_device: Demote unassigned resource printk to NOTICE
Often times not all available resources are used on a PNP function, so
those resources not being specified is intentional, not an error. Keep
the printk but demote it so it doesn't pollute a normal cbmem log.
TEST=build/boot purism/librem_cnl (Mini v2), verify errors in cbmem
related to RTC IO/IRQ not being assigned are no longer present.
Change-Id: I3d9f22a06088596e14680190aede2d69880001fa
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80645
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/device/pnp_device.c')
-rw-r--r-- | src/device/pnp_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/pnp_device.c b/src/device/pnp_device.c index f799530d8e..c7c622804d 100644 --- a/src/device/pnp_device.c +++ b/src/device/pnp_device.c @@ -130,7 +130,7 @@ static void pnp_set_resource(struct device *dev, struct resource *resource) resource->index, resource_type(resource), resource->size); else - printk(BIOS_ERR, "%s %02lx %s size: 0x%010llx " + printk(BIOS_NOTICE, "%s %02lx %s size: 0x%010llx " "not assigned in devicetree\n", dev_path(dev), resource->index, resource_type(resource), resource->size); return; |