diff options
author | Simon Glass <sjg@chromium.org> | 2019-07-08 14:25:49 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2019-07-24 12:54:08 -0700 |
commit | eea264ead3ca198ed66f62a78dc4940075621ae7 (patch) | |
tree | b7005012bbfa1ba540658b6878b01b7637a1a7a1 /tools/binman/image.py | |
parent | 61f564d15f35e5f5600ed639201b257efa09d1f1 (diff) |
binman: Allow for logging information to be displayed
Binman generally operates silently but in some cases it is useful to see
what Binman is actually doing at each step. Enable some logging output
with different logging levels selectable via the -v flag.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/image.py')
-rw-r--r-- | tools/binman/image.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/binman/image.py b/tools/binman/image.py index 2c5668e2a96..bbb5e23c3b2 100644 --- a/tools/binman/image.py +++ b/tools/binman/image.py @@ -20,6 +20,7 @@ from etype import section import fdt import fdt_util import tools +import tout class Image(section.Entry_section): """A Image, representing an output from binman @@ -107,7 +108,7 @@ class Image(section.Entry_section): for entry in self._entries.values(): if not entry.ProcessContents(): sizes_ok = False - print("Entry '%s' size change" % self._node.path) + tout.Debug("Entry '%s' size change" % self._node.path) return sizes_ok def WriteSymbols(self): |