summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2020-02-21 22:14:01 +0000
committerPatrick Georgi <pgeorgi@google.com>2020-02-22 22:38:27 +0000
commitf5529d9edc82666e1ac410c0042099228f6e6734 (patch)
tree06c106453c883ddfe733b07df232c255279eea63 /payloads
parent291a014e158d856b5583ff192d9300115d4cec1c (diff)
downloadcoreboot-f5529d9edc82666e1ac410c0042099228f6e6734.tar.gz
cbfs: allow uncompressed payloads
Change-Id: I8261bc28e5bc9aa32db1dccef7035486995c9873 Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39051 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads')
-rw-r--r--payloads/Kconfig8
1 files changed, 7 insertions, 1 deletions
diff --git a/payloads/Kconfig b/payloads/Kconfig
index 4e86c21ec7..f85dce9175 100644
--- a/payloads/Kconfig
+++ b/payloads/Kconfig
@@ -57,10 +57,16 @@ config PAYLOAD_FILE
choice
prompt "Payload compression algorithm"
default COMPRESSED_PAYLOAD_LZMA
+ default COMPRESSED_PAYLOAD_NONE if PAYLOAD_LINUX || PAYLOAD_LINUXBOOT || PAYLOAD_FIT
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.
+ You can choose between None, LZMA, or LZ4.
+
+config COMPRESSED_PAYLOAD_NONE
+ bool "Use no compression for payloads"
+ help
+ Do not compress the payload.
config COMPRESSED_PAYLOAD_LZMA
bool "Use LZMA compression for payloads"