summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2013-04-25 08:42:23 -0500
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-05-03 06:25:03 +0200
commite690eda978690e8c44804fe81f545a87a552685f (patch)
tree2daa0ea94d03503540d977be5bd45709b2bc3609
parent825c78b5da98c7155ff6be3322cdaae0e5a060e8 (diff)
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@chromium.org> Reviewed-on: http://review.coreboot.org/3131 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Marc Jones <marc.jones@se-eng.com> Tested-by: build bot (Jenkins)
-rw-r--r--src/lib/cbfs_core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/cbfs_core.c b/src/lib/cbfs_core.c
index 9732b829b3..1220d482d1 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);
}