binman: Convert to use bytes type
authorSimon Glass <sjg@chromium.org>
Sat, 18 May 2019 04:00:46 +0000 (22:00 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Jul 2019 22:52:58 +0000 (16:52 -0600)
commitc6c10e77fb48f3e55857e379be86384fbcdc19d5
tree96e378365de845827a346236e1415d63a9b064ad
parent58632a7f44cb0aef2c5cd4ede966c89abc430968
binman: Convert to use bytes type

With Python 3 we want to use the 'bytes' type instead of 'str'. Adjust the
code accordingly so that it works on both Python 2 and Python 3.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/elf_test.py
tools/binman/etype/_testing.py
tools/binman/etype/u_boot_dtb_with_ucode.py
tools/binman/etype/u_boot_ucode.py
tools/binman/etype/vblock.py
tools/binman/ftest.py