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 <fcoo...@ti.com>
Reviewed-by: Tom Rini <tr...@konsulko.com>
Reviewed-by: Lokesh Vutla <lokeshvu...@ti.com>
Acked-by: Andrew F. Davis <a...@ti.com>
---
 dts/Kconfig | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/dts/Kconfig b/dts/Kconfig
index 9a06221..7d688e8 100644
--- a/dts/Kconfig
+++ b/dts/Kconfig
@@ -79,14 +79,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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to