aboutsummaryrefslogtreecommitdiff
path: root/util/cbmem
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2013-01-07 15:25:37 -0800
committerRonald G. Minnich <rminnich@gmail.com>2013-01-08 20:25:21 +0100
commitd7144dcd578215e345b10df5a6cdac7bd44ac3ad (patch)
tree1c483272802a1e5ae3f5bf5f4d16ca65bb60f0f3 /util/cbmem
parent062730d7cb35c8cc2cc07e15695eb62f2b647f4a (diff)
cbmem utility: unify debug output
... and indent it to make output more comprehensible. Change-Id: If321f3233b31be14b2723175b781e5dd60dd72b6 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/2116 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'util/cbmem')
-rw-r--r--util/cbmem/cbmem.c5
1 files 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);
}