]> git.baikalelectronics.ru Git - uboot.git/commit
dtoc: Use binary mode for reading files
authorSimon Glass <sjg@chromium.org>
Sat, 18 May 2019 04:00:39 +0000 (22:00 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Jul 2019 22:52:58 +0000 (16:52 -0600)
commit0c6937b1b581dcba55da4aa4d5b3a34960ecf88a
treef094584065244ee8dc6ab4ec3b2e80df6c7af51f
parent955ad5a5ef8ab5a4af7db207445c76395d532818
dtoc: Use binary mode for reading files

The .dtb files are binary so we should open them as binary files. This
allows Python 3 to use the correct 'bytes' type.

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