diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2018-02-07 13:01:43 +0100 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-02-10 23:57:06 +0000 |
commit | 47dd96db9739a534eaf7df63a7d7b4b7cfc220c0 (patch) | |
tree | 6ccdefef10abcf2489adafdcd48815bb32097598 /payloads/Makefile.inc | |
parent | 9be42b59537aa41b483d392e3e00eb3ed653080f (diff) | |
download | coreboot-47dd96db9739a534eaf7df63a7d7b4b7cfc220c0.tar.xz |
payloads: Add an option to compress secondary payloads
Both GRUB and SeaBIOS can chainload lzma compressed payloads.
Therefore it is beneficial to compress secondary payloads
like Memtest86+, coreinfo, nvramcui,... for both size reasons and
often also speed reasons since the limiting factor is generally the
IO of the boot device.
Tested with SeaBIOS and memtest86+ master on Thinkpad X220.
Change-Id: Iddfd6fcf4112d255cc7b2b49b99bf5ea4d6f8db4
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/23639
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'payloads/Makefile.inc')
-rw-r--r-- | payloads/Makefile.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/payloads/Makefile.inc b/payloads/Makefile.inc index b27d7fe23e..d894dec4a7 100644 --- a/payloads/Makefile.inc +++ b/payloads/Makefile.inc @@ -16,10 +16,12 @@ cbfs-files-$(CONFIG_COREINFO_SECONDARY_PAYLOAD) += img/coreinfo img/coreinfo-file := payloads/coreinfo/build/coreinfo.elf img/coreinfo-type := payload +img/coreinfo-compression := $(CBFS_SECONDARY_PAYLOAD_COMPRESS_FLAG) cbfs-files-$(CONFIG_NVRAMCUI_SECONDARY_PAYLOAD) += img/nvramcui img/nvramcui-file := payloads/nvramcui/nvramcui.elf img/nvramcui-type := payload +img/nvramcui-compression := $(CBFS_SECONDARY_PAYLOAD_COMPRESS_FLAG) PAYLOADS_LIST=\ payloads/coreinfo \ |