payloads/Kconfig: do not show compression menu for FIT

FIT payloads do not support compression. Currently this would thrown an error
like the following:

E: FIT images don't support whole-image compression, compress the kernel component instead!

With this patch, menuconfig will correctly *not* show payload compression for
FIT payloads, and this will correctly set compression to NONE.

Change-Id: If564e2f5c0d499bc30411d7bd41611790453d4ef
Signed-off-by: Andrea Barberio <insomniac@slackware.it>
Reviewed-on: https://review.coreboot.org/28732
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
Andrea Barberio 2018-09-25 14:22:01 +01:00 committed by Patrick Georgi
parent d4c5b211d5
commit 256dd1198c
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ config PAYLOAD_FILE
choice choice
prompt "Payload compression algorithm" prompt "Payload compression algorithm"
default COMPRESSED_PAYLOAD_LZMA default COMPRESSED_PAYLOAD_LZMA
depends on !PAYLOAD_NONE && !PAYLOAD_LINUX && !PAYLOAD_LINUXBOOT depends on !PAYLOAD_NONE && !PAYLOAD_LINUX && !PAYLOAD_LINUXBOOT && !PAYLOAD_FIT
help help
Choose the compression algorithm for the chosen payloads. Choose the compression algorithm for the chosen payloads.
You can choose between LZMA and LZ4. You can choose between LZMA and LZ4.