summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2019-02-11 12:49:57 +0100
committerSimon Glass <sjg@chromium.org>2019-04-11 20:10:05 -0600
commitc7a88dae997ffb75a379ec48d79cc8bdabe510f0 (patch)
tree8b3273bf6169ff996ce12ff702e440bee25e9a8d /scripts
parent9d73e85a8773d1560d24d267402b9266b7fea603 (diff)
downloadu-boot-c7a88dae997ffb75a379ec48d79cc8bdabe510f0.tar.gz
u-boot-c7a88dae997ffb75a379ec48d79cc8bdabe510f0.tar.bz2
u-boot-c7a88dae997ffb75a379ec48d79cc8bdabe510f0.zip
dm: remove pre reloc properties in SPL and TPL device tree
We can remove the pre reloc property in SPL and TPL device-tree: - u-boot,dm-pre-reloc - u-boot,dm-spl - u-boot,dm-tpl As only the needed node are kept by fdtgrep (1st pass). The associated function (XXX_pre_reloc) are simple for SPL/TPL: return always true. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.lib1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 70de9bb13a..de67677f61 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -525,4 +525,5 @@ quiet_cmd_fdtgrep = FDTGREP $@
cmd_fdtgrep = $(objtree)/tools/fdtgrep $(fdtgrep_props) -RT $< \
-n /chosen -n /config -O dtb | \
$(objtree)/tools/fdtgrep -r -O dtb - -o $@ \
+ -P u-boot,dm-pre-reloc -P u-boot,dm-spl -P u-boot,dm-tpl \
$(addprefix -P ,$(subst $\",,$(CONFIG_OF_SPL_REMOVE_PROPS)))