diff options
author | Myles Watson <mylesgw@gmail.com> | 2010-06-02 21:13:44 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2010-06-02 21:13:44 +0000 |
commit | 5f067015ea97f56012cf0c1e386bc98de5f72d2c (patch) | |
tree | 5a6735029a265f418b66b8ff84b6a9d243ce3fd3 /src | |
parent | e9d4bcc737f12dbcf121be5c50b4ff756dedcf4a (diff) |
Fix hard-coded log levels.
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5605 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r-- | src/devices/device_util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/device_util.c b/src/devices/device_util.c index 9096c137da..91a41af757 100644 --- a/src/devices/device_util.c +++ b/src/devices/device_util.c @@ -599,12 +599,12 @@ static void resource_tree(struct device *root, int debug_level, int depth) indent[i] = ' '; indent[i] = '\0'; - do_printk(BIOS_DEBUG, "%s%s links %x child on link 0", indent, + do_printk(debug_level, "%s%s links %x child on link 0", indent, dev_path(root), root->links); - do_printk(BIOS_DEBUG, " %s\n", root->link[0].children ? + do_printk(debug_level, " %s\n", root->link[0].children ? dev_path(root->link[0].children) : "NULL"); for (res = root->resource_list; res; res = res->next) { - do_printk(BIOS_DEBUG, + do_printk(debug_level, "%s%s resource base %llx size %llx align %d gran %d limit %llx flags %lx index %lx\n", indent, dev_path(root), res->base, res->size, res->align, |