commit | 1d0ebf7d636ea923cafb45d2b0f61200b26e4198 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue May 14 15:53:42 2019 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Jul 10 16:52:45 2019 -0600 |
tree | a720b56b37fdc501d50dbefc3af0f4fc069c4be0 | |
parent | 509791542816ce984ac4716827205de49b82b282 [diff] |
tools: binman: Open all binary files in binary mode At present some files are opened in text mode despite containing binary data. This works on Python 2 but not always on Python 3, due to unicode problems. BC&D are not my favourite people. Adjust the affected open() statements to use binary mode. Signed-off-by: Simon Glass <sjg@chromium.org>