[PATCH 34/67] upl: Require OFNODE_MULTI_TREE when writing a UPL handoff

Simon Glass sjg at chromium.org
Wed Jan 1 23:09:20 CET 2025


This requires a new oftree to be created, which is only supported if
this option is enabled. Add a 'select' to ensure this.

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

 boot/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/boot/Kconfig b/boot/Kconfig
index 705947cfa95..f9263513268 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -786,6 +786,7 @@ config UPL_READ
 
 config UPL_WRITE
 	bool "upl - Support writing a Universal Payload handoff"
+	select OFNODE_MULTI_TREE
 	help
 	  Provides support for encoding a UPL-format payload from a C structure
 	  so it can be passed to another program. This is just the writing
-- 
2.43.0



More information about the U-Boot mailing list