summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kiszka <[email protected]>2024-09-30 12:20:36 +0200
committerTom Rini <[email protected]>2024-10-17 15:01:01 -0600
commit3435486f367d341cd143425c3ff9d307380d2935 (patch)
tree5f8ec5ee19eabb24954554a49387558c1b1ea9e3
parent8efc954fc77eaa734b9fe0cba4b33b75b6e8dbb8 (diff)
Extend usage for OF_OVERLAY_LIST beyond SPL
Allow to use OF_OVERLAY_LIST also for the case that the overlays just need be built, e.g. when they will be picked up by binman as artifacts of the final U-Boot image. The IOT2050 boards have such a need when switching to OF_UPSTREAM. Signed-off-by: Jan Kiszka <[email protected]> Reviewed-by: Sumit Garg <[email protected]> Reviewed-by: Simon Glass <[email protected]>
-rw-r--r--dts/Kconfig4
-rw-r--r--scripts/Makefile.dts1
2 files changed, 3 insertions, 2 deletions
diff --git a/dts/Kconfig b/dts/Kconfig
index 569d4be338e..7ea4fd5a79b 100644
--- a/dts/Kconfig
+++ b/dts/Kconfig
@@ -226,11 +226,11 @@ config OF_LIST
config OF_OVERLAY_LIST
string "List of device tree overlays to include for DT control"
- depends on SPL_LOAD_FIT_APPLY_OVERLAY
help
This option specifies a list of device tree overlays to use for DT
control. This option can then be used by a FIT generator to include
- the overlays in the FIT image.
+ the overlays in the FIT image or by binman when assembling an image
+ that uses overlays during DT fixup.
choice
prompt "OF LIST compression"
diff --git a/scripts/Makefile.dts b/scripts/Makefile.dts
index 1fe142f2bbf..994098c2db9 100644
--- a/scripts/Makefile.dts
+++ b/scripts/Makefile.dts
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: GPL-2.0+
dtb-y += $(patsubst %,%.dtb,$(subst ",,$(CONFIG_DEFAULT_DEVICE_TREE) $(CONFIG_OF_LIST) $(CONFIG_SPL_OF_LIST)))
+dtb-y += $(patsubst %,%.dtbo,$(subst ",,$(CONFIG_OF_OVERLAY_LIST)))
ifeq ($(CONFIG_OF_UPSTREAM_BUILD_VENDOR),y)
ifeq ($(CONFIG_ARM64),y)