Arthur Heymans uploaded patch set #9 to this change.

View Change

arch/x86: Add option to LZ4 compress postcar stage

This adds a Kconfig symbol ROMSTAGE_CACHED_CBMEM to be selected
by flatforms that set up WB caching of where cbmem and stage cache
will be. Based on this the default to compress postcar stage is
selected.

The reason for selecting LZ4 over LZMA is that LZ4 has a very low
stack requirement in comparison with LZMA which is a better idea for
when operating in CAR. Other compression methods might be added later
if platforms have enough stack in CAR for it.

The LZ4 decompressor was already linked in romstage.

Change-Id: I89fdc6066027447bf72968c66e6f5eb5fbb630c7
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
---
M src/Kconfig
M src/arch/x86/Makefile.inc
M src/cpu/x86/Kconfig
3 files changed, 29 insertions(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/36674/9

To view, visit change 36674. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I89fdc6066027447bf72968c66e6f5eb5fbb630c7
Gerrit-Change-Number: 36674
Gerrit-PatchSet: 9
Gerrit-Owner: Arthur Heymans <arthur@aheymans.xyz>
Gerrit-Reviewer: Aaron Durbin <adurbin@chromium.org>
Gerrit-Reviewer: Arthur Heymans <arthur@aheymans.xyz>
Gerrit-Reviewer: Julius Werner <jwerner@chromium.org>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Mike Banon <mikebdp2@gmail.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik@intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-MessageType: newpatchset