Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/68648 )
Change subject: lib/Kconfig: Disable `DECOMPRESS_OFAST` for x86_64 ......................................................................
lib/Kconfig: Disable `DECOMPRESS_OFAST` for x86_64
Commit d91f3a4eaf7f8399db83a9c2d5cba2452fefaf7a ("lib/lzma: Build the source for decompression with flag -Ofast") enabled optimizations for LZMA at build time, but these seem to break loading compressed stages on at least QEMU i440fx when using 64-bit coreboot. This results in a boot loop when attempting to load ramstage. For the time being, don't enable `DECOMPRESS_OFAST` when `USE_EXP_X86_64_SUPPORT` is enabled.
TEST=Ensure that `configs/config.emulation_qemu_x86_i440fx_x86_64` is is able to reach the payload instead of boot-looping when trying to load ramstage. Payload-specific functionality not tested.
Change-Id: I4e1475b71754cdda309b6c4ed72086c084dbcb1f Signed-off-by: Angel Pons th3fanbus@gmail.com --- M src/lib/Kconfig 1 file changed, 22 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/48/68648/1
diff --git a/src/lib/Kconfig b/src/lib/Kconfig index ae96fc6..6bed740 100644 --- a/src/lib/Kconfig +++ b/src/lib/Kconfig @@ -118,6 +118,6 @@ config DECOMPRESS_OFAST bool depends on COMPILER_GCC - default y + default y if !USE_EXP_X86_64_SUPPORT help Compile the decompressing function in -Ofast instead of standard -Os