From 03dfc212579e16898de5107bf8e9fc03e51ef669 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Wed, 16 Aug 2023 02:50:16 +0530 Subject: soc/intel/alderlake: Add provision to show pre-boot splash screen This patch adds the ability to show a pre-boot splash screen on Meteor Lake systems using FSP-S. The patch calls into `fsp_convert_bmp_to_gop_blt()` when the `BMP_LOGO` config is enabled. This function converts a BMP file to a BLT buffer, which is then used by FSP-S to render the splash screen. Additionally, increase the heap size (malloc'able size) upto 512KB (when BMP_LOGO config is enabled) to accommodate high resolution logo file. BUG=b:284799726 TEST=Able to see splash screen while booting google/marasov with BMP_LOGO config enable. Signed-off-by: Subrata Banik Change-Id: I9f4d1bc0aa991e784624ca19ba96a259ab8ddfa6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/77233 Tested-by: build bot (Jenkins) Reviewed-by: Kapil Porwal Reviewed-by: Eric Lai --- src/soc/intel/alderlake/Kconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'src/soc/intel/alderlake/Kconfig') diff --git a/src/soc/intel/alderlake/Kconfig b/src/soc/intel/alderlake/Kconfig index 480eb30e21..5facb85339 100644 --- a/src/soc/intel/alderlake/Kconfig +++ b/src/soc/intel/alderlake/Kconfig @@ -216,6 +216,7 @@ config IED_REGION_SIZE config HEAP_SIZE hex + default 0x80000 if BMP_LOGO default 0x10000 config GFX_GMA_DEFAULT_MMIO -- cgit v1.2.3