]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Makefile: Correct TPL rule for OF_REAL
authorSimon Glass <sjg@chromium.org>
Mon, 1 Nov 2021 01:17:03 +0000 (19:17 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 13 Nov 2021 15:16:52 +0000 (08:16 -0700)
Correct an error in the tpl-dtb parameter to binman. At present the TPL
rule follows SPL but this is not correct, if TPL uses of-platdata, for
example.

Fixes: f99cbe4e867 ("fdt: Update Makefile rules with the new OF_REAL Kconfig")
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Makefile

index 299cd3ffac97a12667b045e0591c529634222378..194f93b3553ed9618acc455c7eac3d8961ae95d0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1314,7 +1314,7 @@ cmd_binman = $(srctree)/tools/binman/binman $(if $(BINMAN_DEBUG),-D) \
                -a spl-bss-pad=$(if $(CONFIG_SPL_SEPARATE_BSS),,1) \
                -a tpl-bss-pad=$(if $(CONFIG_TPL_SEPARATE_BSS),,1) \
                -a spl-dtb=$(CONFIG_SPL_OF_REAL) \
-               -a tpl-dtb=$(CONFIG_SPL_OF_REAL) \
+               -a tpl-dtb=$(CONFIG_TPL_OF_REAL) \
                $(BINMAN_$(@F))
 
 OBJCOPYFLAGS_u-boot.ldr.hex := -I binary -O ihex