Skip to contentSkip to conversation

xPL FIT: Rework SPL_FIT dependencies

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 xPL FIT: Rework SPL_FIT dependencies

As exposed by "make randconfig", we have xPL_FIT select'ing xPL_OF_CONTROL, and that in turn requires xPL_LIBGENERIC_SUPPORT. The most reasonable solution here is to have xPL_FIT select xPL_LIBGENERIC_SUPPORT.

---
 boot/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
boot/Kconfig +2 -0
index d81e56e8528c..7849928fc37d 100644
@@ -183,6 +183,7 @@ config SPL_FIT
 	bool "Support Flattened Image Tree within SPL"
 	depends on SPL
 	select SPL_HASH
+	select SPL_LIBGENERIC_SUPPORT
 	select SPL_OF_LIBFDT
 
 config SPL_FIT_PRINT
@@ -315,6 +316,7 @@ config TPL_FIT
 	bool "Support Flattened Image Tree within TPL"
 	depends on TPL
 	select TPL_HASH
+	select TPL_LIBGENERIC_SUPPORT
 	select TPL_OF_LIBFDT
 
 config TPL_LOAD_FIT
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 6 lines · Tom Rini

As exposed by "make randconfig", we have xPL_FIT select'ing xPL_OF_CONTROL, and that in turn requires xPL_LIBGENERIC_SUPPORT. The most reasonable solution here is to have xPL_FIT select xPL_LIBGENERIC_SUPPORT.

Applied to u-boot/next, thanks!

[1/1] xPL FIT: Rework SPL_FIT dependencies

      commit: aa8203f83ab500c1150188d9682e9fe6e29fd6ab
Signature · 1 line
Tom