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>
This commit is contained in:
parent
43bcbb0d56
commit
010c14fd05
1 changed files with 11 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue