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)
commit3e4b51e8d6dc86c0ea80552a1d2e19756b19e4a1
treefd3e6131f2e444d514bc1df338c18e01b1cf2524
parent1d0ebf7d636ea923cafb45d2b0f61200b26e4198
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