[coreboot-gerrit] New patch to review for coreboot: 69dc384 util/cbmem/cbmem: Move comment to right place

Paul Menzel (paulepanter@users.sourceforge.net) gerrit at coreboot.org
Fri Oct 17 14:13:46 CEST 2014


Paul Menzel (paulepanter at users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7091

-gerrit

commit 69dc384c7873ff82226154247f1dc8b4beae1081
Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date:   Fri Oct 17 12:54:13 2014 +0200

    util/cbmem/cbmem: Move comment to right place
    
    Originally the utility cbmem was just used for reading out the time
    stamps and was later extented. Move the comment to the right place
    again.
    
    Change-Id: Ief1d7aef38a4b439e3e224e6e6c65f7aa57f821f
    Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
---
 util/cbmem/cbmem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/cbmem/cbmem.c b/util/cbmem/cbmem.c
index 4dcfe91..cee3818 100644
--- a/util/cbmem/cbmem.c
+++ b/util/cbmem/cbmem.c
@@ -212,7 +212,6 @@ static int parse_cbtable(u64 address)
 		debug("Found!\n");
 
 		for (j = 0; j < lbh->table_bytes; j += lbr_p->size) {
-			/* look for the timestamp table */
 			lbr_p = (struct lb_record*) ((char *)lbtable + j);
 			debug("  coreboot table entry 0x%02x\n", lbr_p->tag);
 			switch (lbr_p->tag) {
@@ -232,6 +231,7 @@ static int parse_cbtable(u64 address)
 				}
 				continue;
 			}
+			/* look for the timestamp table */
 			case LB_TAG_TIMESTAMPS: {
 				debug("    Found timestamp table.\n");
 				timestamps = parse_cbmem_ref((struct lb_cbmem_ref *) lbr_p);



More information about the coreboot-gerrit mailing list