mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-29 02:42:16 +00:00
acf5cb88b4
Drivers can have private / platform data contained in structs and these struct definitions are generally kept in header files. In order to generate build-time devices, dtoc needs to generate code that declares the data contained in those structs. This generated code must include the relevant header file, to avoid a build error. We need a way for dtoc to scan header files for struct definitions. Then, when it wants to generate code that uses a struct, it can make sure it includes the correct header file, first. Add a parser for struct information, similar to drivers. Keep a dict of the structs that were found. Signed-off-by: Simon Glass <sjg@chromium.org> |
||
---|---|---|
.. | ||
.gitignore | ||
dtb_platdata.py | ||
dtoc | ||
dtoc_test.dts | ||
dtoc_test_add_prop.dts | ||
dtoc_test_addr32.dts | ||
dtoc_test_addr32_64.dts | ||
dtoc_test_addr64.dts | ||
dtoc_test_addr64_32.dts | ||
dtoc_test_aliases.dts | ||
dtoc_test_bad_reg.dts | ||
dtoc_test_bad_reg2.dts | ||
dtoc_test_driver_alias.dts | ||
dtoc_test_empty.dts | ||
dtoc_test_invalid_driver.dts | ||
dtoc_test_phandle.dts | ||
dtoc_test_phandle_bad.dts | ||
dtoc_test_phandle_bad2.dts | ||
dtoc_test_phandle_cd_gpios.dts | ||
dtoc_test_phandle_reorder.dts | ||
dtoc_test_phandle_single.dts | ||
dtoc_test_scan_drivers.cxx | ||
dtoc_test_simple.dts | ||
fdt.py | ||
fdt_util.py | ||
main.py | ||
setup.py | ||
src_scan.py | ||
test_dtoc.py | ||
test_fdt | ||
test_fdt.py | ||
test_src_scan.py |