u-boot/tools/dtoc
Simon Glass 1c56469ce1 dtoc: Check that a parent is not missing
With of-platdata-inst we want to set up a reference to each devices'
parent device, if there is one. If we find that the device has a parent
(i.e. is not a root node) but it is not in the list of devices being
written, then we cannot create the reference.

Report an error in this case, since it indicates that the parent node
is either missing a compatible string, is disabled, or perhaps does not
have any properties because it was not tagged for SPL.

Signed-off-by: Simon Glass <sjg@chromium.org>
2021-07-15 19:50:27 +08:00
..
test dtoc: Check that a parent is not missing 2021-07-15 19:50:27 +08:00
.gitignore dm: Add a library to provide simple device-tree access 2016-07-14 20:40:24 -06:00
dtb_platdata.py dtoc: Check that a parent is not missing 2021-07-15 19:50:27 +08:00
dtoc dtoc: Rename the main module 2020-04-26 14:25:21 -06:00
fdt_util.py binman: Use target-specific tools when cross-compiling 2020-09-22 12:54:13 -06:00
fdt.py dtoc: Add new check that offsets are correct 2021-03-27 16:26:48 +13:00
main.py dtoc: Add an option for device instantiation 2021-03-22 19:23:27 +13:00
setup.py dtoc: Add a setup script for Python 2020-08-22 08:53:38 -06:00
src_scan.py dtoc: Show driver warnings once at the end 2021-04-06 16:33:19 +12:00
test_dtoc.py dtoc: Check that a parent is not missing 2021-07-15 19:50:27 +08:00
test_fdt dtoc: Add some tests for the fdt module 2018-07-09 09:11:00 -06:00
test_fdt.py dtoc: Add new check that offsets are correct 2021-03-27 16:26:48 +13:00
test_src_scan.py dtoc: Show driver warnings once at the end 2021-04-06 16:33:19 +12:00