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>
Mon, 20 Jul 2020 17:37:47 +0000 (11:37 -0600)
commitde438550913b67765b71172e10e130452bc7f61f
treed5d5adb25c04a59de4569f72c6471576b0933ec7
parent2a9c14526e9367c878d43536bfdbe4b23a23e870
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