soc/intel/alderlake: Enable LZ4 compression for logo CBFS file

This patch selects LZ4 decompression for logo CBFS file. Able to save
2ms of the boot time when HAVE_FSP_LOGO_SUPPORT config is enabled.
However, the compressed BMP logo size is increased by ~2KB.

Raw BMP Image size is ~97KB.

BUG=b:284799726
TEST=Able to see pre-boot splash screen while booting google/redrix
with 32MB (W25Q256JWEIM) SPI-Flash.

Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I98e2c9a4f77d0b91f84eda9aec5060b236bd5e94
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78121
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Subrata Banik 2023-09-26 20:22:42 +05:30
parent 2d8b6f0554
commit 4f7d05d2e0
1 changed files with 3 additions and 0 deletions

View File

@ -557,4 +557,7 @@ config HSPHY_FW_MAX_SIZE
hex hex
default 0x8000 default 0x8000
config HAVE_BMP_LOGO_COMPRESS_LZMA
default n
endif endif