From cdf172461caa1a2b29be54438628e4c227956565 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 22 Feb 2016 22:55:57 -0700 Subject: 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 --- dts/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'dts/Kconfig') 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 It can be overridden from the command line: $ make DEVICE_TREE= +config OF_LIST + string "List of device tree files to include for DT control" + depends on SPL_LOAD_FIT + help + This option specifies a list of device tree files to use for DT + control. These will be packaged into a FIT. At run-time, SPL will + select the correct DT to use by examining the hardware (e.g. + reading a board ID value). This is a list of device tree files + (without the directory or .dtb suffix) separated by . + config OF_SPL_REMOVE_PROPS string "List of device tree properties to drop for SPL" depends on SPL_OF_CONTROL -- cgit v1.2.1