Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/84086?usp=email )
Change subject: payloads/Kconfig: Fix dependencies of PAYLOAD_FIT_SUPPORT ......................................................................
payloads/Kconfig: Fix dependencies of PAYLOAD_FIT_SUPPORT
Move config PAYLOAD_FIT_SUPPORT out of the `if !PAYLOAD_NONE'. It's independent of the choice to add a payload right away.
Change-Id: I4b9cd13bf017d4afc30d1599ecc2faaf87bf0213 Signed-off-by: Nico Huber nico.h@gmx.de Reviewed-on: https://review.coreboot.org/c/coreboot/+/84086 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Arthur Heymans arthur@aheymans.xyz --- M payloads/Kconfig 1 file changed, 11 insertions(+), 11 deletions(-)
Approvals: Arthur Heymans: Looks good to me, approved build bot (Jenkins): Verified
diff --git a/payloads/Kconfig b/payloads/Kconfig index ec1d40c..4948624 100644 --- a/payloads/Kconfig +++ b/payloads/Kconfig @@ -103,17 +103,6 @@ bool default n
-config PAYLOAD_FIT_SUPPORT - bool "FIT support" - default n - default y if PAYLOAD_LINUX && (ARCH_ARM || ARCH_ARM64 || ARCH_RISCV) - depends on ARCH_ARM64 || ARCH_RISCV || ARCH_ARM - select FLATTENED_DEVICE_TREE - help - Select this option if your payload is of type FIT. - Enables FIT parser and devicetree patching. The FIT is non - self-extracting and needs to have a compatible compression format. - config COMPRESS_SECONDARY_PAYLOAD bool "Use LZMA compression for secondary payloads" default y @@ -191,4 +180,15 @@
endif # !PAYLOAD_NONE
+config PAYLOAD_FIT_SUPPORT + bool "FIT support" + default n + default y if PAYLOAD_LINUX && (ARCH_ARM || ARCH_ARM64 || ARCH_RISCV) + depends on ARCH_ARM64 || ARCH_RISCV || ARCH_ARM + select FLATTENED_DEVICE_TREE + help + Select this option if your payload is of type FIT. + Enables FIT parser and devicetree patching. The FIT is non + self-extracting and needs to have a compatible compression format. + endmenu