diff mbox series

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

Message ID 20230212231638.1134219-22-sjg@chromium.org
State RFC
Delegated to: Tom Rini
Headers show
Series RFC: Migrate to split config | expand

Commit Message

Simon Glass Feb. 12, 2023, 11:15 p.m. UTC
This is implicitly used in the source and seems useful, so add it.

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

(no changes since v1)

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

Patch

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