]> git.baikalelectronics.ru Git - uboot.git/commit
tools: dtoc: Open all binary files in binary mode
authorSimon Glass <sjg@chromium.org>
Tue, 14 May 2019 21:53:43 +0000 (15:53 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Jul 2019 22:52:45 +0000 (16:52 -0600)
commit79e83757a8b96f091a1a285853d40e64eb4a37e2
treefd3e6131f2e444d514bc1df338c18e01b1cf2524
parente06ce608f1c4f4d680b8b4aa5ca3709ac4cc9569
tools: dtoc: Open all binary files in binary mode

Fix an open() statement to use binary mode, so that it works as expected
with Python 3.

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