aboutsummaryrefslogtreecommitdiff
path: root/src/device/device.c
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2015-11-18 20:23:02 -0700
committerMyles Watson <mylesgw@gmail.com>2015-11-19 14:46:43 +0100
commit7bc74ab25b81a9f1d0156a6137b40d6155a81b51 (patch)
tree4166e3ca8edddb292a128656370fb4e6afdec098 /src/device/device.c
parent9d0330f537d5c6b778531a7ca209b53d060ac2ef (diff)
device/device.c: remove warning for missing apic read resources
We have had the "APIC: 00 missing read_resources" messages for many years. It's obviously not an error, and also doesn't cause boot failures. Therefore, remove the message. Change-Id: I7f99c5950a3457df04e7ef6edb456b70dba9680c Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: http://review.coreboot.org/12471 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/device/device.c')
-rw-r--r--src/device/device.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/device/device.c b/src/device/device.c
index 55a5dfd9ac..e23c9def5b 100644
--- a/src/device/device.c
+++ b/src/device/device.c
@@ -222,8 +222,9 @@ static void read_resources(struct bus *bus)
continue;
if (!curdev->ops || !curdev->ops->read_resources) {
- printk(BIOS_ERR, "%s missing read_resources\n",
- dev_path(curdev));
+ if (curdev->path.type != DEVICE_PATH_APIC)
+ printk(BIOS_ERR, "%s missing read_resources\n",
+ dev_path(curdev));
continue;
}
post_log_path(curdev);