path: root/dts/Kconfig
diff options
authorSimon Glass <>2015-06-23 15:38:29 -0600
committerSimon Glass <>2015-07-21 17:39:21 -0600
commitfa78e0a37173211d75e9606257bc028f066962cf (patch)
tree51df2d7c98c352953586bbb29885177e08bb80dc /dts/Kconfig
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 'dts/Kconfig')
1 files changed, 12 insertions, 0 deletions
diff --git a/dts/Kconfig b/dts/Kconfig
index 957f5c7ffa..09cfefbd35 100644
--- a/dts/Kconfig
+++ b/dts/Kconfig
@@ -56,4 +56,16 @@ config DEFAULT_DEVICE_TREE
It can be overridden from the command line:
$ make DEVICE_TREE=<device-tree-name>
+ string "List of device tree properties to drop for SPL"
+ depends on OF_CONTROL && SPL
+ default "pinctrl-0 pinctrl-names clocks clock-names interrupt-parent"
+ help
+ Since SPL normally runs in a reduced memory space, the device tree
+ is cut down to only what is needed to load and start U-Boot. Only
+ nodes marked with the property "u-boot,dm-pre-reloc" will be
+ included. In addition, some properties are not used by U-Boot and
+ can be discarded. This option defines the list of properties to
+ discard.
OpenPOWER on IntegriCloud