See patch

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: [email protected]http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866

Now that the resource allocator is working nicely we can turn down the debug
level output and make some output SPEW only.

Signed-off-by: Stefan Reinauer <[email protected]>


Index: src/devices/device.c
===================================================================
--- src/devices/device.c        (revision 4842)
+++ src/devices/device.c        (working copy)
@@ -890,11 +890,10 @@
        printk_info("Enumerating buses...\n");
        root = &dev_root;
 
-       show_all_devs(BIOS_DEBUG, "Before Device Enumeration.");
-       printk_debug("Compare with tree...\n");
+       show_all_devs(BIOS_SPEW, "Before Device Enumeration.");
+       printk_spew("Compare with tree...\n");
+       show_devs_tree(root, BIOS_SPEW, 0, 0);
 
-       show_devs_tree(root, BIOS_DEBUG, 0, 0);
-
        if (root->chip_ops && root->chip_ops->enable_dev) {
                root->chip_ops->enable_dev(root);
        }
@@ -945,7 +944,7 @@
        read_resources(&root->link[0]);
        printk_info("Done reading resources.\n");
 
-       print_resource_tree(root, BIOS_DEBUG, "After reading.");
+       print_resource_tree(root, BIOS_SPEW, "After reading.");
 
        /* Compute resources for all domains. */
        for (child = root->link[0].children; child; child = child->sibling) {
@@ -1021,7 +1020,7 @@
        }
        assign_resources(&root->link[0]);
        printk_info("Done setting resources.\n");
-       print_resource_tree(root, BIOS_DEBUG, "After assigning values.");
+       print_resource_tree(root, BIOS_SPEW, "After assigning values.");
 
        printk_info("Done allocating resources.\n");
 }
@@ -1068,5 +1067,5 @@
                }
        }
        printk_info("Devices initialized\n");
-       show_all_devs(BIOS_DEBUG, "After init.");
+       show_all_devs(BIOS_SPEW, "After init.");
 }
-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to