]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Makefile: Pass OF_SPL_REMOVE_PROPS to binman
authorSimon Glass <sjg@chromium.org>
Sat, 20 Jul 2024 10:49:50 +0000 (11:49 +0100)
committerSimon Glass <sjg@chromium.org>
Mon, 29 Jul 2024 14:42:18 +0000 (08:42 -0600)
Pass CONFIG_OF_SPL_REMOVE_PROPS to binman so that it can remove
properties correctly when producing FITs for SPL phases.

Signed-off-by: Simon Glass <sjg@chromium.org>
Makefile
tools/binman/etype/fit.py

index 6738b8608fa21992ed379acf7356ec2126022c64..ea562c2c9c1896ce742d414d23a546fd3fe63577 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1393,6 +1393,7 @@ cmd_binman = $(srctree)/tools/binman/binman $(if $(BINMAN_DEBUG),-D) \
                -a tpl-dtb=$(CONFIG_TPL_OF_REAL) \
                -a vpl-dtb=$(CONFIG_VPL_OF_REAL) \
                -a pre-load-key-path=${PRE_LOAD_KEY_PATH} \
+               -a of-spl-remove-props=$(CONFIG_OF_SPL_REMOVE_PROPS) \
                $(BINMAN_$(@F))
 
 OBJCOPYFLAGS_u-boot.ldr.hex := -I binary -O ihex
index 38358292ece7896de8ad9a3825d88c86c34c4453..ee44e5a1cd6bf7374dcf5fb2477098cee82288e0 100644 (file)
@@ -210,7 +210,8 @@ class Entry_fit(Entry_section):
 
     Note that the `of-spl-remove-props` entryarg can be used to indicate
     additional properties to remove. It is often used to remove properties like
-    `clock-names` and `pinctrl-names` which are not needed in SPL builds.
+    `clock-names` and `pinctrl-names` which are not needed in SPL builds. This
+    value is automatically passed to binman by the U-Boot build.
 
     See :ref:`fdtgrep_filter` for more information.