From 1134bd8440d5c49db38b0407e43767314cf934e0 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Sun, 10 Feb 2008 22:52:39 +0000 Subject: [PATCH] Make dev_phase2() output prettier. Remove redundant function name printing and double newlines. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Ronald G. Minnich git-svn-id: svn://coreboot.org/repository/coreboot-v3@585 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- device/device.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/device/device.c b/device/device.c index 5d45de566f..246664a4df 100644 --- a/device/device.c +++ b/device/device.c @@ -742,17 +742,16 @@ void dev_phase2(void) post_code(POST_STAGE2_PHASE2_ENTER); printk(BIOS_DEBUG, "Phase 2: Early setup...\n"); for (dev = all_devices; dev; dev = dev->next) { - printk(BIOS_SPEW, "%s: dev %s: ", __FUNCTION__, dev->dtsname); - printk(BIOS_SPEW, "%s: ops %p ops->phase2_setup_scan_bus %p\n", - __FUNCTION__, dev->ops, + printk(BIOS_SPEW, + "%s: dev %s: ops %p ops->phase2_setup_scan_bus %p\n", + __FUNCTION__, dev->dtsname, dev->ops, dev->ops? dev->ops->phase2_setup_scan_bus : NULL); if (dev->ops && dev->ops->phase2_setup_scan_bus) { printk(BIOS_SPEW, - "Calling phase2 phase2_setup_scan_bus..."); + "Calling phase2 phase2_setup_scan_bus...\n"); dev->ops->phase2_setup_scan_bus(dev); - printk(BIOS_SPEW, " done"); + printk(BIOS_SPEW, "phase2_setup_scan_bus done\n"); } - printk(BIOS_SPEW, "\n"); } post_code(POST_STAGE2_PHASE2_DONE);