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 <s...@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

Reply via email to