[U-Boot] [PATCH 02/40] binman: Don't show image-skip message by default

Simon Glass sjg at chromium.org
Wed Jan 30 03:58:57 UTC 2019


This message is not very important since it is simply indicating that the
user's instructions are being followed. Only show it when the verbosity
level is above the default.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/binman/control.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/binman/control.py b/tools/binman/control.py
index 3446e2e79c..b32e4e1996 100644
--- a/tools/binman/control.py
+++ b/tools/binman/control.py
@@ -133,8 +133,8 @@ def Binman(options, args):
                     if name not in options.image:
                         del images[name]
                         skip.append(name)
-                if skip:
-                    print 'Skipping images: %s\n' % ', '.join(skip)
+                if skip and options.verbosity >= 2:
+                    print 'Skipping images: %s' % ', '.join(skip)
 
             state.Prepare(images, dtb)
 
-- 
2.20.1.495.gaa96b0ce6b-goog



More information about the U-Boot mailing list