[coreboot-gerrit] New patch to review for coreboot: cbfstool: cut down on the debug output

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Tue Aug 25 16:01:18 CEST 2015


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11323

-gerrit

commit 02c6a52c91cb9abc60a85ec8b792ce60568cc15d
Author: Patrick Georgi <patrick at georgi-clan.de>
Date:   Tue Aug 25 13:11:28 2015 +0200

    cbfstool: cut down on the debug output
    
    Change-Id: I9a0aad42e4eb67a07c939d7cfa0d2d80838412bb
    Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
---
 util/cbfstool/cbfs_image.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/util/cbfstool/cbfs_image.c b/util/cbfstool/cbfs_image.c
index a08bb2f..acf68ce 100644
--- a/util/cbfstool/cbfs_image.c
+++ b/util/cbfstool/cbfs_image.c
@@ -495,12 +495,10 @@ static int cbfs_add_entry_at(struct cbfs_image *image,
 		 * to file data.
 		 */
 		DEBUG("|..|header|content|... <use offset to create entry>\n");
-		DEBUG("before: offset=0x%x, len=0x%x\n",
-		      ntohl(entry->offset), ntohl(entry->len));
+		DEBUG("before: offset=0x%x\n", ntohl(entry->offset));
 		// TODO reset expanded name buffer to 0xFF.
 		entry->offset = htonl(ntohl(entry->offset) + len);
-		DEBUG("after: offset=0x%x, len=0x%x\n",
-		      ntohl(entry->offset), ntohl(entry->len));
+		DEBUG("after: offset=0x%x\n", ntohl(entry->len));
 	}
 
 	// Ready to fill data into entry.



More information about the coreboot-gerrit mailing list