summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorAndrea Barberio <insomniac@slackware.it>2018-09-25 14:22:01 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-09-26 15:38:58 +0000
commit256dd1198c8154c6de7dbe44000b03e997dae36b (patch)
treea6336313b6e7f912f2d7c144e5a776af1c9f6cf9 /payloads
parentd4c5b211d59bf2fc91660d9ed5e488f4765667dc (diff)
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>
Diffstat (limited to 'payloads')
-rw-r--r--payloads/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/Kconfig b/payloads/Kconfig
index 5e76ebee79..8e05df3ae7 100644
--- a/payloads/Kconfig
+++ b/payloads/Kconfig
@@ -64,7 +64,7 @@ config PAYLOAD_FILE
choice
prompt "Payload compression algorithm"
default COMPRESSED_PAYLOAD_LZMA
- depends on !PAYLOAD_NONE && !PAYLOAD_LINUX && !PAYLOAD_LINUXBOOT
+ depends on !PAYLOAD_NONE && !PAYLOAD_LINUX && !PAYLOAD_LINUXBOOT && !PAYLOAD_FIT
help
Choose the compression algorithm for the chosen payloads.
You can choose between LZMA and LZ4.