From 4f7d05d2e0155864c5a043eb6846ba81998573ce Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Tue, 26 Sep 2023 20:22:42 +0530 Subject: [PATCH] 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 Change-Id: I98e2c9a4f77d0b91f84eda9aec5060b236bd5e94 Reviewed-on: https://review.coreboot.org/c/coreboot/+/78121 Reviewed-by: Kapil Porwal Tested-by: build bot (Jenkins) --- src/soc/intel/alderlake/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/soc/intel/alderlake/Kconfig b/src/soc/intel/alderlake/Kconfig index 2bfb07c9a1..c96056dbf3 100644 --- a/src/soc/intel/alderlake/Kconfig +++ b/src/soc/intel/alderlake/Kconfig @@ -557,4 +557,7 @@ config HSPHY_FW_MAX_SIZE hex default 0x8000 +config HAVE_BMP_LOGO_COMPRESS_LZMA + default n + endif