[coreboot-gerrit] Patch set updated for coreboot: 6677018 cbfs: make searching for a file less verbose

Aaron Durbin (adurbin@google.com) gerrit at coreboot.org
Wed May 1 15:40:36 CEST 2013


Aaron Durbin (adurbin at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3131

-gerrit

commit 6677018b02c94c0e41fbb7f6c7f84db58da36980
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Thu Apr 25 08:42:23 2013 -0500

    cbfs: make searching for a file less verbose
    
    The cbfs core code would print out all unmatched file
    names when searching for a file. This contributes to a lot
    of unnecessary messages in the boot log. Change this
    message to a DEBUG one so that it will only be printed when
    CONFIG_DEBUG_CBFS is enabled.
    
    Change-Id: I1e46a4b21d80e5d2f9b511a163def7f5d4e0fb99
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
---
 src/lib/cbfs_core.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/cbfs_core.c b/src/lib/cbfs_core.c
index 9732b82..1220d48 100644
--- a/src/lib/cbfs_core.c
+++ b/src/lib/cbfs_core.c
@@ -158,7 +158,8 @@ struct cbfs_file *cbfs_get_file(struct cbfs_media *media, const char *name)
 			media->close(media);
 			return file_ptr;
 		} else {
-			LOG(" (unmatched file @0x%x: %s)\n", offset, file_name);
+			DEBUG(" (unmatched file @0x%x: %s)\n", offset,
+			      file_name);
 			media->unmap(media, file_name);
 		}
 



More information about the coreboot-gerrit mailing list