diff options
author | Simon Glass <sjg@chromium.org> | 2024-07-20 11:49:50 +0100 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2024-07-29 08:42:18 -0600 |
commit | 20e5399a311eb3aca5cebfd3e494047ed1ceacb8 (patch) | |
tree | aa993c364934c571b00e46df077a67559d98a77c | |
parent | 5e7da044ba1a003d28476e7d8256042d8a4e4110 (diff) | |
download | u-boot-20e5399a311eb3aca5cebfd3e494047ed1ceacb8.tar.gz |
Makefile: Pass OF_SPL_REMOVE_PROPS to binman
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>
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | tools/binman/etype/fit.py | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -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 diff --git a/tools/binman/etype/fit.py b/tools/binman/etype/fit.py index 38358292ece..ee44e5a1cd6 100644 --- a/tools/binman/etype/fit.py +++ b/tools/binman/etype/fit.py @@ -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. |