patman: Update errors and warnings to use stderr
authorSimon Glass <sjg@chromium.org>
Fri, 10 Jul 2020 00:39:39 +0000 (18:39 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 25 Jul 2020 20:46:57 +0000 (14:46 -0600)
commit38fdb4cb35e9260a6aa78ffcfa68d39bfc3523de
treeb46104f229d43a8139f0d5ee6590d5f1bfd73f65
parent4f9f1056ecf2d9e54803b89fd0784240a8d89fd8
patman: Update errors and warnings to use stderr

When warnings and errors are produced by tools they should be written to
stderr. Update the tout implementation to handle this.

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