Skip to contentSkip to conversation

boot: Update dependencies for some UPL options

PATCH In review Tom Rini 1 participant 2 messages Mar 17 – Mar 30

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 boot: Update dependencies for some UPL options

As exposed by "make randconfig", we have an issue around SPL_UPL. This depends on SPL_LIBGENERIC_SUPPORT indirectly. In turn, SPL_UPL_OUT needs to next depend on SPL_UPL.

---
 boot/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
boot/Kconfig +2 -0
index afbd0e735163..bfed452d77e3 100644
@@ -991,6 +991,7 @@ if SPL
 
 config SPL_UPL
 	bool "Write a UPL handoff in SPL"
+	depends on SPL_LIBGENERIC_SUPPORT
 	imply SPL_UPL_OUT
 	help
 	  This tells SPL to write a UPL handoff and pass it to the next phase
@@ -1008,6 +1009,7 @@ config SPL_UPL_WRITE
 
 config SPL_UPL_OUT
 	bool "upl - Support writing a Universal Payload handoff in SPL"
+	depends on SPL_UPL
 	select SPL_UPL_WRITE
 	help
 	  Provides support for encoding a UPL-format payload and passing it to
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 5 lines · Tom Rini

As exposed by "make randconfig", we have an issue around SPL_UPL. This depends on SPL_LIBGENERIC_SUPPORT indirectly. In turn, SPL_UPL_OUT needs to next depend on SPL_UPL.

Applied to u-boot/next, thanks!

[1/1] boot: Update dependencies for some UPL options

      commit: 7938048594d0edf6b1012e787fd0efda8b214aa8
Signature · 1 line
Tom