u-boot-brain/tools/dtoc
Paul Burton c4c5f9eefb dtoc: Decode strings for struct.unpack on python 3.x
On python 3.x struct.unpack will complain if we provide it with a
string since it expects to operate on a bytes object. In order to
satisfy this requirement, encode the string to a bytes object when
running on python 3.x.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Acked-by: Simon Glass <sjg@chromium.org>
2016-10-09 09:30:32 -06:00
..
.gitignore dm: Add a library to provide simple device-tree access 2016-07-14 20:40:24 -06:00
dtoc dm: Add a tool to generate C code from a device tree 2016-07-14 20:40:24 -06:00
dtoc.py dtoc: Use items() to iterate over dictionaries in python 3.x 2016-10-09 09:30:32 -06:00
fdt_fallback.py dtoc: Use items() to iterate over dictionaries in python 3.x 2016-10-09 09:30:32 -06:00
fdt_normal.py dtoc: Adjust GetProps() in fdt_normal to use the node path 2016-10-09 09:30:32 -06:00
fdt_select.py dtoc: Add a way for tests to request the fallback library 2016-10-09 09:30:32 -06:00
fdt_util.py dtoc: Decode strings for struct.unpack on python 3.x 2016-10-09 09:30:32 -06:00
fdt.py dtoc: Support finding the offset of a property 2016-09-18 21:04:39 -06:00