u-boot-brain/tools/dtoc
Simon Glass 337d6972f5 dtoc: Set up the uclasses that are used
We only care about uclasses that are actually used. This is determined by
the drivers that use them. Check all the used drivers and build a list of
'valid' uclasses.

Also add references to the uclasses so we can generate C code that uses
them. Attach a uclass to each valid driver.

For the tests, now that we have uclasses we must create an explicit test
for the case where a node does not have one. This should only happen if
the source code does not build, or the source-code scanning fails to find
it.

Signed-off-by: Simon Glass <sjg@chromium.org>
2021-03-22 19:23:27 +13:00
..
test dtoc: Read aliases for uclasses 2021-03-22 19:23:27 +13:00
.gitignore dm: Add a library to provide simple device-tree access 2016-07-14 20:40:24 -06:00
dtb_platdata.py dtoc: Set up the uclasses that are used 2021-03-22 19:23:27 +13: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 binman: Support alignment of files 2021-01-30 14:25:41 -07:00
main.py dtoc: Support tracking the phase of U-Boot 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: Set up the uclasses that are used 2021-03-22 19:23:27 +13:00
test_dtoc.py dtoc: Set up the uclasses that are used 2021-03-22 19:23:27 +13:00
test_fdt dtoc: Add some tests for the fdt module 2018-07-09 09:11:00 -06:00
test_fdt.py dtoc: Move test files into a test/ directory 2021-03-22 19:23:27 +13:00
test_src_scan.py dtoc: Set up the uclasses that are used 2021-03-22 19:23:27 +13:00