Attention is currently required from: Martin Roth.
Hello Martin Roth,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/71674
to review the following change.
Change subject: src/lib: Include LZMA in romstage for FSP-M ......................................................................
src/lib: Include LZMA in romstage for FSP-M
Previously, LZMA was included in romstage because it was almost always needed to decompress ramstage. When compressing ramstage with LZ4, but using LZMA compression for FSP-M, we still need the LZMA decompression to be present, so update when the Makefile includes the LZMA decoder.
Signed-off-by: Martin Roth martin.roth@amd.corp-partner.google.com Change-Id: Id52d25a13420f05db8b2b563de0448f9d44638e0 --- M src/lib/Makefile.inc 1 file changed, 18 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/71674/1
diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc index 030959c..c83004a 100644 --- a/src/lib/Makefile.inc +++ b/src/lib/Makefile.inc @@ -95,7 +95,9 @@ romstage-y += fmap.c romstage-y += delay.c romstage-y += cbfs.c -romstage-$(CONFIG_COMPRESS_RAMSTAGE_LZMA) += lzma.c lzmadecode.c +ifneq ($(CONFIG_COMPRESS_RAMSTAGE_LZMA)$(CONFIG_FSP_COMPRESS_FSP_M_LZMA),) +romstage-y += lzma.c lzmadecode.c +endif romstage-y += libgcc.c romstage-y += memrange.c romstage-$(CONFIG_PRIMITIVE_MEMTEST) += primitive_memtest.c