summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-06-23 15:38:29 -0600
committerSimon Glass <sjg@chromium.org>2015-07-21 17:39:21 -0600
commitfa78e0a37173211d75e9606257bc028f066962cf (patch)
tree51df2d7c98c352953586bbb29885177e08bb80dc /Makefile
parent1043d0a0296a8580fd497a2eb1f411eb07ba98c1 (diff)
downloadu-boot-imx-fa78e0a37173211d75e9606257bc028f066962cf.zip
u-boot-imx-fa78e0a37173211d75e9606257bc028f066962cf.tar.gz
u-boot-imx-fa78e0a37173211d75e9606257bc028f066962cf.tar.bz2
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 <sjg@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b6f83a5..0aa5e6a 100644
--- a/Makefile
+++ b/Makefile
@@ -1259,7 +1259,7 @@ u-boot.lds: $(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