Author: stepan
Date: 2009-10-26 00:47:38 +0100 (Mon, 26 Oct 2009)
New Revision: 4853

Modified:
   branches/coreboot-v2-newbuild/src/devices/device.c
Log:
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]>
Acked-by: Uwe Hermann <[email protected]>
Acked-by: Myles Watson <[email protected]>



Modified: branches/coreboot-v2-newbuild/src/devices/device.c
===================================================================
--- branches/coreboot-v2-newbuild/src/devices/device.c  2009-10-25 19:50:47 UTC 
(rev 4852)
+++ branches/coreboot-v2-newbuild/src/devices/device.c  2009-10-25 23:47:38 UTC 
(rev 4853)
@@ -884,11 +884,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);
        }
@@ -939,7 +938,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) {
@@ -1015,7 +1014,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");
 }
@@ -1062,5 +1061,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