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>
Mon, 20 Jul 2020 17:37:47 +0000 (11:37 -0600)
commitf9793a12c5e76c50018d516cbaa011ac86c285fa
tree519b138d6392970401df8e8d790d0d8646880409
parent5f850fb9a62659edaa81167a4acc879c0ea104fc
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