mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 23:47:24 +00:00
b00f0066e5
U-Boot operates in several phases, typically TPL, SPL and U-Boot proper. The latter does not use dtoc. In some rare cases different drivers are used for two phases. For example, in TPL it may not be necessary to use the full PCI subsystem, so a simple driver can be used instead. This works in the build system simply by compiling in one driver or the other (e.g. PCI driver + uclass for SPL; simple_bus for TPL). But dtoc has no way of knowing which code is compiled in for which phase, since it does not inspect Makefiles or dependency graphs. So to make this work for dtoc, we need to be able to explicitly mark drivers with their phase. This is done by adding an empty macro to the driver. Add support for this in dtoc. Signed-off-by: Simon Glass <sjg@chromium.org> |
||
---|---|---|
.. | ||
test | ||
.gitignore | ||
dtb_platdata.py | ||
dtoc | ||
fdt.py | ||
fdt_util.py | ||
main.py | ||
setup.py | ||
src_scan.py | ||
test_dtoc.py | ||
test_fdt | ||
test_fdt.py | ||
test_src_scan.py |