Author: stepan
Date: 2009-10-26 17:47:05 +0100 (Mon, 26 Oct 2009)
New Revision: 4857

Modified:
   trunk/coreboot-v2/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 <ste...@coresystems.de>
Acked-by: Uwe Hermann <u...@hermann-uwe.de>
Acked-by: Myles Watson <myle...@gmail.com>




Modified: trunk/coreboot-v2/src/devices/device.c
===================================================================
--- trunk/coreboot-v2/src/devices/device.c      2009-10-26 15:14:07 UTC (rev 
4856)
+++ trunk/coreboot-v2/src/devices/device.c      2009-10-26 16:47:05 UTC (rev 
4857)
@@ -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: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to