summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/intel/alderlake/Kconfig1
-rw-r--r--src/soc/intel/alderlake/fsp_params.c8
2 files changed, 8 insertions, 1 deletions
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
diff --git a/src/soc/intel/alderlake/fsp_params.c b/src/soc/intel/alderlake/fsp_params.c
index b64c302126..402af89ed8 100644
--- a/src/soc/intel/alderlake/fsp_params.c
+++ b/src/soc/intel/alderlake/fsp_params.c
@@ -12,6 +12,7 @@
#include <drivers/intel/gma/i915_reg.h>
#include <fsp/api.h>
#include <fsp/fsp_debug_event.h>
+#include <fsp/fsp_gop_blt.h>
#include <fsp/ppi/mp_service_ppi.h>
#include <fsp/util.h>
#include <gpio.h>
@@ -1371,5 +1372,10 @@ __weak void mainboard_silicon_init_params(FSP_S_CONFIG *s_cfg)
/* Handle FSP logo params */
void soc_load_logo(FSPS_UPD *supd)
{
- bmp_load_logo(&supd->FspsConfig.LogoPtr, &supd->FspsConfig.LogoSize);
+ fsp_convert_bmp_to_gop_blt(&supd->FspsConfig.LogoPtr,
+ &supd->FspsConfig.LogoSize,
+ &supd->FspsConfig.BltBufferAddress,
+ &supd->FspsConfig.BltBufferSize,
+ &supd->FspsConfig.LogoPixelHeight,
+ &supd->FspsConfig.LogoPixelWidth);
}