summaryrefslogtreecommitdiff
path: root/payloads/Kconfig
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2024-08-25 18:31:15 +0200
committerFelix Held <felix-coreboot@felixheld.de>2024-08-27 11:32:05 +0000
commit010c14fd052a1bd24f18e327121731fcffd7adf5 (patch)
treea4f22d08a7775331489ce81cd875f6a1babb659f /payloads/Kconfig
parent43bcbb0d560e46b58880db2bda12aa21027fcb08 (diff)
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>
Diffstat (limited to 'payloads/Kconfig')
-rw-r--r--payloads/Kconfig22
1 files changed, 11 insertions, 11 deletions
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