binman: Allow verbose output with all commands
authorSimon Glass <sjg@chromium.org>
Mon, 16 Sep 2019 00:10:36 +0000 (18:10 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:57:43 +0000 (13:57 +0800)
commit7bc4f0f88327bcd3c2daafe969f049dcfab41b00
treee2e5b35b7c64f24f726d98532d4499739c245095
parent4e8de068a3b210c0fea2b29372b25c60c7b6dc9e
binman: Allow verbose output with all commands

At present the verbose flag only works for the 'build' command. This is
not intended, nor is it useful. Update the code to support the verbose
flag and make use of a command exception handler.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: rebase the patch against u-boot-x86/next to get it applied cleanly]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
tools/binman/control.py