aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-10-31 19:17:03 -0600
committerSimon Glass <sjg@chromium.org>2021-11-13 08:16:52 -0700
commitebee206ad987773cb3b0d649ec0ce97fa1d104ca (patch)
treecae7235155edc1f257d85138b4539a86f0eb6046 /Makefile
parent4e7c8b2a1cc77ed7267f21c383d3280496750791 (diff)
downloadu-boot-ebee206ad987773cb3b0d649ec0ce97fa1d104ca.zip
u-boot-ebee206ad987773cb3b0d649ec0ce97fa1d104ca.tar.gz
u-boot-ebee206ad987773cb3b0d649ec0ce97fa1d104ca.tar.bz2
Makefile: Correct TPL rule for OF_REAL
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 299cd3f..194f93b 100644
--- 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