[U-Boot] [PATCH 06/31] dts: Allow OF_LIST to depend on FIT_EMBED

Franklin S Cooper Jr fcooper at ti.com
Thu Mar 2 19:04:10 UTC 2017


OF_LIST will be useable by SPL and U-boot. Therefore, update its
dependency to allow it to be enable by either SPL or U-boot specific
config option.

Signed-off-by: Franklin S Cooper Jr <fcooper at ti.com>
Reviewed-by: Tom Rini <trini at konsulko.com>
Reviewed-by: Lokesh Vutla <lokeshvutla at ti.com>
Acked-by: Andrew F. Davis <afd at ti.com>
---
 dts/Kconfig | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/dts/Kconfig b/dts/Kconfig
index 4b7d8b1..ba019a8 100644
--- a/dts/Kconfig
+++ b/dts/Kconfig
@@ -61,14 +61,15 @@ config DEFAULT_DEVICE_TREE
 
 config OF_LIST
 	string "List of device tree files to include for DT control"
-	depends on SPL_LOAD_FIT
+	depends on SPL_LOAD_FIT || FIT_EMBED
 	default DEFAULT_DEVICE_TREE
 	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 <space>.
+	  control. These will be packaged into a FIT. At run-time, U-boot
+	  or 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 <space>.
 
 config OF_SPL_REMOVE_PROPS
 	string "List of device tree properties to drop for SPL"
-- 
2.10.0



More information about the U-Boot mailing list