]> git.ipfire.org Git - thirdparty/u-boot.git/commit
fdt: Avoid emitting an device tree when not needed
authorSimon Glass <sjg@chromium.org>
Fri, 17 Dec 2021 03:59:38 +0000 (20:59 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 23 Dec 2021 16:19:41 +0000 (11:19 -0500)
commitb7d8e85b4c4eb2c5e6f5596772e4fafb0eb6e095
tree0940378e026de82f7eae898f5d950d2b02027a0d
parent24f073d4009e4a35091c676aff83c03dac5c1a6b
fdt: Avoid emitting an device tree when not needed

U-Boot always needs some sort of a device tree in the build. Some boards
never actually use this, at least in production systems, since a prior
firmware stage sets one up and passes it to U-Boot. At present the only
mechanism to do that is with custom function (OF_BOARD), but future work
will include a standard way of doing this ('standard passage').

It can be confusing to see a device tree emitted from the U-Boot build in
this situation. Add an option to drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Makefile
dts/Kconfig