u-boot-brain/tools/dtoc
Simon Glass 9b044f7e3d dtoc: Update dtb_platdata to support Python 3
The only change needed is to update get_value() to support the 'bytes'
type correctly with Python 3.

With this the dtoc unit tests pass with both Python 2 and 3:

PYTHONPATH=/tmp/b/sandbox_spl/scripts/dtc/pylibfdt python \
	./tools/dtoc/dtoc -t

PYTHONPATH=~/cosarm/dtc/pylibfdt:tools/patman python3 \
	./tools/dtoc/dtoc -t

Signed-off-by: Simon Glass <sjg@chromium.org>
2019-07-10 16:52:58 -06:00
..
.gitignore dm: Add a library to provide simple device-tree access 2016-07-14 20:40:24 -06:00
dtb_platdata.py dtoc: Update dtb_platdata to support Python 3 2019-07-10 16:52:58 -06:00
dtoc dm: Add a tool to generate C code from a device tree 2016-07-14 20:40:24 -06:00
dtoc_test_add_prop.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_addr32_64.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_addr32.dts SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dtoc_test_addr64_32.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_addr64.dts SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dtoc_test_aliases.dts SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dtoc_test_bad_reg.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_bad_reg2.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_empty.dts SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dtoc_test_phandle_bad.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_phandle_bad2.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_phandle_reorder.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_phandle_single.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_phandle.dts dtoc: Fix properties with a single zero-arg phandle 2018-07-09 09:11:00 -06:00
dtoc_test_simple.dts dtoc: Update fdt tests to increase code coverage 2018-07-09 09:11:00 -06:00
dtoc_test.dts SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dtoc.py dtoc: Adjust code for Python 3 2019-07-10 16:52:58 -06:00
fdt_util.py dtoc: Update fdt_util for Python 3 2019-07-10 16:52:58 -06:00
fdt.py dtoc: Convert the Fdt.Node class to Python 3 2019-07-10 16:52:58 -06:00
test_dtoc.py dtoc: Sort platdata output from dtoc 2019-07-10 16:52:58 -06:00
test_fdt dtoc: Add some tests for the fdt module 2018-07-09 09:11:00 -06:00
test_fdt.py dtoc: Update fdt_util for Python 3 2019-07-10 16:52:58 -06:00