Add option 'compress ramstage'

Add an option to make compression of ramstage configurable. Right now
it is always compressed. On my Thinkpad, the complete boot to grub takes
4s, with around 1s required for decompressing ramstage. This is probably
caused by the fact the decompression does a lot of single byte/word/qword
accesses, which are really slow on SPI buses. So give the user the option
to store ramstage uncompressed, if he has enough memory.

Signed-off-by: Sven Schnelle <>
Acked-by: Patrick Georgi <>

git-svn-id: svn:// 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2 files changed
tree: 32d7e6a6e0fc459a9e92f9907e201dcb94023fab
  1. documentation/
  2. payloads/
  3. src/
  4. util/
  6. Makefile