aboutsummaryrefslogtreecommitdiffstats
path: root/dts
diff options
context:
space:
mode:
authorSimon Glass2016-02-22 23:55:57 -0600
committerTom Rini2016-03-14 18:18:31 -0500
commitcdf172461caa1a2b29be54438628e4c227956565 (patch)
tree970eff488c533017d3c27ea6161c15ef69308ce2 /dts
parentf1dcee59a2afc4cf39699eef7631edbff8693933 (diff)
downloadu-boot-cdf172461caa1a2b29be54438628e4c227956565.tar.gz
u-boot-cdf172461caa1a2b29be54438628e4c227956565.tar.xz
u-boot-cdf172461caa1a2b29be54438628e4c227956565.zip
spl: Add a way to specify a list of device trees to include
When building a FIT, more than one device tree can be included. The board can select (at run-time) the one that it wants. Add a Kconfig option to allow the list of devices trees (supported by the board) to be specified. When using SPL_LOAD_FIT, build u-boot.img in FIT format instead of the legacy image format. Include all the listed device tree files in this FIT. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'dts')
-rw-r--r--dts/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/dts/Kconfig b/dts/Kconfig
index df068a1f93..d585009353 100644
--- a/dts/Kconfig
+++ b/dts/Kconfig
@@ -59,6 +59,16 @@ config DEFAULT_DEVICE_TREE
59 It can be overridden from the command line: 59 It can be overridden from the command line:
60 $ make DEVICE_TREE=<device-tree-name> 60 $ make DEVICE_TREE=<device-tree-name>
61 61
62config OF_LIST
63 string "List of device tree files to include for DT control"
64 depends on SPL_LOAD_FIT
65 help
66 This option specifies a list of device tree files to use for DT
67 control. These will be packaged into a FIT. At run-time, SPL will
68 select the correct DT to use by examining the hardware (e.g.
69 reading a board ID value). This is a list of device tree files
70 (without the directory or .dtb suffix) separated by <space>.
71
62config OF_SPL_REMOVE_PROPS 72config OF_SPL_REMOVE_PROPS
63 string "List of device tree properties to drop for SPL" 73 string "List of device tree properties to drop for SPL"
64 depends on SPL_OF_CONTROL 74 depends on SPL_OF_CONTROL