summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2023-09-26 20:22:42 +0530
committerSubrata Banik <subratabanik@google.com>2023-09-28 06:27:28 +0000
commit4f7d05d2e0155864c5a043eb6846ba81998573ce (patch)
treedff04678acc5d502d1d7b05380d5ea79dda2ae37
parent2d8b6f0554787ca73a7ba835332f36447fef51cb (diff)
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>
-rw-r--r--src/soc/intel/alderlake/Kconfig3
1 files changed, 3 insertions, 0 deletions
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