u-boot-brain/tools/dtoc
Simon Glass 735ddfc638 dtoc: Support headers needed for drivers
Typically dtoc can detect the header file needed for a driver by looking
for the structs that it uses. For example, if a driver as a .priv_auto
that uses 'struct serial_priv', then dtoc can search header files for the
definition of that struct and use the file.

In some cases, enums are used in drivers, typically with the .data field
of struct udevice_id. Since dtoc does not support searching for these,
add a way to tell dtoc which header to use. This works as a macro included
in the driver definition.

Signed-off-by: Simon Glass <sjg@chromium.org>
2021-03-22 19:23:27 +13:00
..
test dtoc: Rename sandbox_i2c_test and sandbox_pmic_test 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: Support tracking the phase of U-Boot 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: Support headers needed for drivers 2021-03-22 19:23:27 +13:00
test_dtoc.py dtoc: Support tracking the phase of U-Boot 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: Support headers needed for drivers 2021-03-22 19:23:27 +13:00