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: https://gerrit.chromium.org/gerrit/49765 Reviewed-by: Stefan Reinauer <reinauer@chromium.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
This commit is contained in:
parent
cc56816208
commit
eec5a54d13
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue