summaryrefslogtreecommitdiff
path: root/tools/binman/control.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-04-26 06:58:34 +0300
committerBin Meng <bmeng.cn@gmail.com>2019-05-08 07:44:07 +0300
commiteb833d871dfdb360002c02ca7e8662309828cca5 (patch)
treeab3622e92ad6f18b409de46ebbd1227ad71b322e /tools/binman/control.py
parent5203258c6e149ab865e337c00437a909abf3b5b4 (diff)
downloadu-boot-eb833d871dfdb360002c02ca7e8662309828cca5.tar.xz
binman: Don't show image-skip message by default
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. Also drop the unnecessary extra newline on this message, which causes two line breaks. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'tools/binman/control.py')
-rw-r--r--tools/binman/control.py4
1 files 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)