[PATCH 010/171] boot: Add a Kconfig for SPL_OF_LIVE

Simon Glass sjg at chromium.org
Mon Jan 30 15:40:43 CET 2023


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

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

 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
+
 choice
 	prompt "Provider of DTB for DT control"
 	depends on OF_CONTROL
-- 
2.39.1.456.gfc5497dd1b-goog



More information about the U-Boot mailing list