diff options
author | Martin L Roth <gaumless@gmail.com> | 2022-09-20 21:16:09 +0000 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2022-09-20 21:44:35 +0000 |
commit | 19491c526d1bbb3f62d2d33a9f65c564d6b3ca28 (patch) | |
tree | d73370b3e13d27e846b2cbbccd606b71fe699355 /src | |
parent | f37146de3239b6d27852cfbc2024e28816cf6d56 (diff) |
Revert "Kconfig: Allow x86 to compress pre-ram stages if not run XIP"
This reverts commit 6317aff5b3028ad44b7885b6b63263c55b5aadb3.
Reason for revert: fix broken tot master
Change-Id: Ie8075cf6c80448bfc957a1e1183f0283d2011b1b
Signed-off-by: Martin Roth <gaumless@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67287
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/Kconfig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Kconfig b/src/Kconfig index 38126fa2b5..0d3879ecbf 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -173,14 +173,14 @@ config COMPRESS_RAMSTAGE config COMPRESS_PRERAM_STAGES bool "Compress romstage and verstage with LZ4" - depends on (HAVE_ROMSTAGE || HAVE_VERSTAGE) && NO_XIP_EARLY_STAGES + depends on !ARCH_X86 && (HAVE_ROMSTAGE || HAVE_VERSTAGE) # Default value set at the end of the file help Compress romstage and (if it exists) verstage with LZ4 to save flash space and speed up boot, since the time for reading the image from SPI (and in the vboot case verifying it) is usually much greater than the - time spent decompressing. Doesn't work for XIP stages for obvious - reasons. + time spent decompressing. Doesn't work for XIP stages (assume all + ARCH_X86 for now) for obvious reasons. config COMPRESS_BOOTBLOCK bool @@ -1370,7 +1370,7 @@ config COMPRESS_RAMSTAGE default y if !UNCOMPRESSED_RAMSTAGE config COMPRESS_PRERAM_STAGES - depends on (HAVE_ROMSTAGE || HAVE_VERSTAGE) && NO_XIP_EARLY_STAGES + depends on !ARCH_X86 default y config INCLUDE_CONFIG_FILE |