summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2013-05-01 08:40:13 -0500
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-05-06 23:08:16 +0200
commit3eddcffe2d9f978081ab2c06cc45ddc473939ded (patch)
tree8dd162b7f0ff3434ebcfd350e7095a7aa515bff0
parent998d0c6d50cd75a703ae6cb161a406a382cdd8a2 (diff)
downloadcoreboot-3eddcffe2d9f978081ab2c06cc45ddc473939ded.tar.xz
libpayload: 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: I34c747e0d3406351318abf70994dbc0bb3fa6c01 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/3164 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--payloads/libpayload/libcbfs/cbfs_core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/payloads/libpayload/libcbfs/cbfs_core.c b/payloads/libpayload/libcbfs/cbfs_core.c
index a714b91367..3fe6971f1d 100644
--- a/payloads/libpayload/libcbfs/cbfs_core.c
+++ b/payloads/libpayload/libcbfs/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);
}