]> git.dujemihanovic.xyz Git - u-boot.git/commit
dtoc: Use byte type instead of str in fdt
authorSimon Glass <sjg@chromium.org>
Sat, 18 May 2019 04:00:36 +0000 (22:00 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Jul 2019 22:52:58 +0000 (16:52 -0600)
commitf6b64815dda947090f112bd4f7e0e430a16b48d7
treeb5c766842c96dfec029dcef48251e0462c6f913f
parent2b6ed5e92e3b29fbfa3a966433d4bbc2ec1e9c58
dtoc: Use byte type instead of str in fdt

In Python 3 bytes and str are separate types. Use bytes to ensure that
the code functions correctly with Python 3.

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