patman: Allow reading files in text mode
authorSimon Glass <sjg@chromium.org>
Sat, 18 May 2019 04:00:44 +0000 (22:00 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Jul 2019 22:52:58 +0000 (16:52 -0600)
commit3c47e4105e0b467938660a986c261f2db10a2edd
tree72c4a7818ee21e558d419dbc48891edf995ca036
parent9b044f7e3d1b085499877774557b2db47fb4339c
patman: Allow reading files in text mode

While reading files in binary mode is the norm, sometimes we want to use
text mode. Add an optional parameter to handle this.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/tools.py