u-boot-brain/tools/dtoc
Simon Glass a004f29464 binman: Tidy up _SetupDtb() to use its own temporary file
At present EnsureCompiled() uses an file from the 'output' directory (in
the tools module) when compiling the device tree. This is fine in most
cases, allowing useful inspection of the output files from binman.

However in functional tests, _SetupDtb() creates an output directory and
immediately removes it afterwards. This serves no benefit and just
confuses things, since the 'official' output directory is supposed to be
created and destroyed in control.Binman().

Add a new parameter for the optional temporary directory to use, and use a
separate temporary directory in _SetupDtb().

Signed-off-by: Simon Glass <sjg@chromium.org>
2019-07-29 09:38:06 -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: Return a non-zero exit code when tests fail 2019-07-29 09:38:05 -06:00
fdt_util.py binman: Tidy up _SetupDtb() to use its own temporary file 2019-07-29 09:38:06 -06:00
fdt.py dtoc: Update Fdt.GetNode() to handle the root node 2019-07-29 09:38:05 -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 binman: Tidy up _SetupDtb() to use its own temporary file 2019-07-29 09:38:06 -06:00