diff options
-rw-r--r-- | src/soc/amd/mendocino/fsp_s_params.c | 7 | ||||
-rw-r--r-- | src/vendorcode/amd/fsp/mendocino/FspsUpd.h | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/soc/amd/mendocino/fsp_s_params.c b/src/soc/amd/mendocino/fsp_s_params.c index ce450e8d1f..e1eff328fe 100644 --- a/src/soc/amd/mendocino/fsp_s_params.c +++ b/src/soc/amd/mendocino/fsp_s_params.c @@ -6,6 +6,7 @@ #include <amdblocks/apob_cache.h> #include <amdblocks/vbios_cache.h> #include <bootmode.h> +#include <bootsplash.h> #include <console/console.h> #include <device/pci.h> #include <fsp/api.h> @@ -52,3 +53,9 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd) if (!acpi_is_wakeup_s3()) payload_preload(); } + +void soc_load_logo(FSPS_UPD *supd) +{ + uint32_t logo_size; + bmp_load_logo(&supd->FspsConfig.logo_bmp_buffer, &logo_size); +} diff --git a/src/vendorcode/amd/fsp/mendocino/FspsUpd.h b/src/vendorcode/amd/fsp/mendocino/FspsUpd.h index 3ac52c097f..fd250d1726 100644 --- a/src/vendorcode/amd/fsp/mendocino/FspsUpd.h +++ b/src/vendorcode/amd/fsp/mendocino/FspsUpd.h @@ -11,7 +11,8 @@ typedef struct __packed { /** Offset 0x0020**/ uint32_t vbios_buffer; - /** Offset 0x0024**/ uint64_t gop_reserved; + /** Offset 0x0024**/ uint32_t gop_reserved; + /** Offset 0x0028**/ uint32_t logo_bmp_buffer; /** Offset 0x002C**/ uint32_t reserved1; /** Offset 0x0030**/ uint16_t UpdTerminator; } FSP_S_CONFIG; |