From 256dd1198c8154c6de7dbe44000b03e997dae36b Mon Sep 17 00:00:00 2001 From: Andrea Barberio Date: Tue, 25 Sep 2018 14:22:01 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/28732 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- payloads/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'payloads/Kconfig') 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. -- cgit v1.2.3