u-boot/tools/dtoc
Simon Glass 43ba492670 dtoc: Detect drivers which do not parse correctly
At present if a driver is missing a uclass or compatible stirng, this
is silently ignored. This makes sense in most cases, particularly for
the compatible string, since it is not required except when the driver
is used with of-platdata.

But it is also not very helpful. When there is some sort of problem
with a driver, the missing compatible string (for example) may be the
cause.

Add a warning in this case, showing it only for drivers which are used
by the build.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Walter Lozano <walter.lozano@collabora.com>
2021-07-21 10:27:34 -06: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.py dtoc: Add new check that offsets are correct 2021-03-27 16:26:48 +13:00
fdt_util.py binman: Use target-specific tools when cross-compiling 2020-09-22 12:54:13 -06:00
main.py dtoc: Convert to use ArgumentParser 2021-07-21 10:27:33 -06:00
setup.py dtoc: Add a setup script for Python 2020-08-22 08:53:38 -06:00
src_scan.py dtoc: Detect drivers which do not parse correctly 2021-07-21 10:27:34 -06: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: Detect drivers which do not parse correctly 2021-07-21 10:27:34 -06:00