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>
This commit is contained in:
Ronald G. Minnich 2020-02-21 22:14:01 +00:00 committed by Patrick Georgi
parent 291a014e15
commit f5529d9edc
1 changed files with 7 additions and 1 deletions

View File

@ -57,10 +57,16 @@ config PAYLOAD_FILE
choice choice
prompt "Payload compression algorithm" prompt "Payload compression algorithm"
default COMPRESSED_PAYLOAD_LZMA 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 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 None, LZMA, or LZ4.
config COMPRESSED_PAYLOAD_NONE
bool "Use no compression for payloads"
help
Do not compress the payload.
config COMPRESSED_PAYLOAD_LZMA config COMPRESSED_PAYLOAD_LZMA
bool "Use LZMA compression for payloads" bool "Use LZMA compression for payloads"