mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
77b3ccb89a
Create the necessary files to build this new package. This is needed for binman. Move the main program into a function so that it can easily be called by the PyPi-created script. Signed-off-by: Simon Glass <sjg@chromium.org> |
||
---|---|---|
.. | ||
test | ||
.gitignore | ||
__init__.py | ||
dtb_platdata.py | ||
dtoc | ||
fdt.py | ||
fdt_util.py | ||
main.py | ||
pyproject.toml | ||
README.rst | ||
setup.py | ||
src_scan.py | ||
test_dtoc.py | ||
test_fdt | ||
test_fdt.py | ||
test_src_scan.py |
.. SPDX-License-Identifier: GPL-2.0+ Devicetree-to-C generator ========================= This is a Python program and associated utilities, which supports converting devicetree files into C code. It generates header files containing struct definitions, as well as C files containing the data. It does not require any modification of the devicetree files. Some high-level libraries are provided for working with devicetree. These may be useful in other projects. This package also includes some U-Boot-specific features, such as creating `struct udevice` and `struct uclass` entries for devicetree nodes.