path: root/Makefile
diff options
authorSimon Glass <>2015-06-23 15:38:29 -0600
committerSimon Glass <>2015-07-21 17:39:21 -0600
commitfa78e0a37173211d75e9606257bc028f066962cf (patch)
tree51df2d7c98c352953586bbb29885177e08bb80dc /Makefile
parent1043d0a0296a8580fd497a2eb1f411eb07ba98c1 (diff)
dm: Reduce SPL device tree size
The SPL device tree size must be minimised to save memory. Only include properties that are needed by SPL - this is determined by the presence of the "u-boot,dm-pre-reloc" property. Also remove a predefined list of unused properties from the nodes that remain. Signed-off-by: Simon Glass <>
Diffstat (limited to 'Makefile')
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b6f83a5530..0aa5e6ad7f 100644
--- a/Makefile
+++ b/Makefile
@@ -1259,7 +1259,7 @@ $(LDSCRIPT) prepare FORCE
spl/u-boot-spl.bin: spl/u-boot-spl
-spl/u-boot-spl: tools prepare
+spl/u-boot-spl: tools prepare $(if $(CONFIG_OF_SEPARATE),dts/dt.dtb)
$(Q)$(MAKE) obj=spl -f $(srctree)/scripts/Makefile.spl all
spl/sunxi-spl.bin: spl/u-boot-spl
OpenPOWER on IntegriCloud