diff options
author | Martin Roth <martin.roth@amd.com> | 2023-01-04 17:26:21 -0700 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-01-08 01:20:15 +0000 |
commit | 40729a58eaef5a349f2cae642020bb8e2caabdec (patch) | |
tree | 433a114b0750ad2e326220e5074470cc7945934d /Makefile.inc | |
parent | c08585674afd75a3b01a0cbada6a15bff0ec503e (diff) |
Kconfig: Add option to compress ramstage with LZ4
When ramstage is loaded asynchronously, as on the skyrim boards, the
faster decompression of LZ4 allows for faster boot times than the
tighter compression of LZMA.
To make this change, the name of the existing ramstage_compression
option needs to be updated.
BUG=b:264409477
TEST=Boot skyrim, look at boot speed
Signed-off-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Change-Id: I27dd1a8def024e0efd466cef9ffd9ca71717486a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71673
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc index 5cd13ba6f4..2b5d742a2c 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -372,9 +372,12 @@ cbfs-files-handler= \ ####################################################################### # a variety of flags for our build CBFS_COMPRESS_FLAG:=none -ifeq ($(CONFIG_COMPRESS_RAMSTAGE),y) +ifeq ($(CONFIG_COMPRESS_RAMSTAGE_LZMA),y) CBFS_COMPRESS_FLAG:=LZMA endif +ifeq ($(CONFIG_COMPRESS_RAMSTAGE_LZ4),y) +CBFS_COMPRESS_FLAG:=LZ4 +endif CBFS_PAYLOAD_COMPRESS_FLAG:=none ifeq ($(CONFIG_COMPRESSED_PAYLOAD_LZMA),y) |