]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: mach-omap2: Use dt_dir for devicetree paths
authorMarkus Schneider-Pargmann (TI) <msp@baylibre.com>
Mon, 1 Jun 2026 09:30:51 +0000 (11:30 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 12 Jun 2026 19:01:24 +0000 (13:01 -0600)
Use dt_dir for the substitution of the DT paths to get the correct paths
even when switching to OF_UPSTREAM.

Signed-off-by: Markus Schneider-Pargmann (TI) <msp@baylibre.com>
arch/arm/mach-omap2/config_secure.mk

index c83ba77066951ef680c849bde7a724b967e2e196..ba57c7ecac4de36db2e040a3c25987c2af768c0a 100644 (file)
@@ -104,9 +104,9 @@ ifdef CONFIG_SPL_LOAD_FIT
 MKIMAGEFLAGS_u-boot_HS.img = -f auto -A $(ARCH) -T firmware -C none -O u-boot \
        -a $(CONFIG_TEXT_BASE) -e $(CONFIG_SYS_UBOOT_START) \
        -n "U-Boot $(UBOOTRELEASE) for $(BOARD) board" -E \
-       $(patsubst %,-b arch/$(ARCH)/dts/%.dtb_HS,$(subst ",,$(CONFIG_OF_LIST)))
+       $(patsubst %,-b $(dt_dir)/%.dtb_HS,$(subst ",,$(CONFIG_OF_LIST)))
 
-OF_LIST_TARGETS = $(patsubst %,arch/$(ARCH)/dts/%.dtb,$(subst ",,$(CONFIG_OF_LIST)))
+OF_LIST_TARGETS = $(patsubst %,$(dt_dir)/%.dtb,$(subst ",,$(CONFIG_OF_LIST)))
 $(OF_LIST_TARGETS): dtbs
 
 %.dtb_HS: %.dtb FORCE