binman: Output errors to stderr
authorSimon Glass <sjg@chromium.org>
Fri, 10 Jul 2020 00:39:26 +0000 (18:39 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 25 Jul 2020 01:25:15 +0000 (19:25 -0600)
commit6c8e0bfe6e379408bcc80224f74ba47e5f82505e
treeff4f97c984e4c893aeeb0d1b49c8fad2872a8a91
parent0d5addaf202b106494ec643fab7e6a45a24773aa
binman: Output errors to stderr

At present binman outputs errors to stdout which means that fails are
effectively silent when printed by buildman, for example. Fix this by
outputing errors to stderr.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
tools/binman/main.py