summaryrefslogtreecommitdiff
path: root/arch/arm
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 /arch/arm
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 'arch/arm')
-rw-r--r--arch/arm/cpu/u-boot-spl.lds2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/u-boot-spl.lds b/arch/arm/cpu/u-boot-spl.lds
index a8be204..4b6e0f6 100644
--- a/arch/arm/cpu/u-boot-spl.lds
+++ b/arch/arm/cpu/u-boot-spl.lds
@@ -66,7 +66,7 @@ SECTIONS
. = ALIGN(4);
__bss_end = .;
}
-
+ __bss_size = __bss_end - __bss_start;
.dynsym _image_binary_end : { *(.dynsym) }
.dynbss : { *(.dynbss) }
.dynstr : { *(.dynstr*) }