[PATCH v3 21/95] boot: Add a Kconfig for SPL_OF_LIVE

Simon Glass sjg at chromium.org
Mon Feb 13 00:15:24 CET 2023

This is implicitly used in the source and seems useful, so add it.

Signed-off-by: Simon Glass <sjg at chromium.org>

(no changes since v1)

 dts/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dts/Kconfig b/dts/Kconfig
index 44cc6bf1f6f..bb63eda9c40 100644
--- a/dts/Kconfig
+++ b/dts/Kconfig
@@ -85,6 +85,10 @@ config OF_LIVE
 	  enables a live tree which is available after relocation,
 	  and can be adjusted as needed.
+config SPL_OF_LIVE
+	def_bool n  # Enable use of a live tree (SPL)
+	depends on SPL_DM && SPL_OF_CONTROL
 	prompt "Provider of DTB for DT control"
 	depends on OF_CONTROL

More information about the U-Boot mailing list