From d7144dcd578215e345b10df5a6cdac7bd44ac3ad Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Mon, 7 Jan 2013 15:25:37 -0800 Subject: [PATCH] cbmem utility: unify debug output ... and indent it to make output more comprehensible. Change-Id: If321f3233b31be14b2723175b781e5dd60dd72b6 Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/2116 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- util/cbmem/cbmem.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/util/cbmem/cbmem.c b/util/cbmem/cbmem.c index 4c0bd6837f..59d054046e 100644 --- a/util/cbmem/cbmem.c +++ b/util/cbmem/cbmem.c @@ -158,12 +158,12 @@ static int parse_cbtable(u64 address) debug(" coreboot table entry 0x%02x\n", lbr_p->tag); switch (lbr_p->tag) { case LB_TAG_TIMESTAMPS: { - debug("Found timestamp table\n"); + debug(" Found timestamp table.\n"); timestamps = *(struct lb_cbmem_ref *) lbr_p; continue; } case LB_TAG_CBMEM_CONSOLE: { - debug("Found cbmem console\n"); + debug(" Found cbmem console.\n"); console = *(struct lb_cbmem_ref *) lbr_p; continue; } @@ -174,6 +174,7 @@ static int parse_cbtable(u64 address) */ struct lb_forward lbf_p = *(struct lb_forward *) lbr_p; + debug(" Found forwarding entry.\n"); unmap_memory(); return parse_cbtable(lbf_p.forward); }