From 010c14fd052a1bd24f18e327121731fcffd7adf5 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Sun, 25 Aug 2024 18:31:15 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/84086 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- payloads/Kconfig | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'payloads/Kconfig') diff --git a/payloads/Kconfig b/payloads/Kconfig index ec1d40c992..49486246c6 100644 --- a/payloads/Kconfig +++ b/payloads/Kconfig @@ -103,17 +103,6 @@ config PAYLOAD_IS_FLAT_BINARY 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 @@ endmenu # "Secondary Payloads" 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 -- cgit v1.2.3