From 67117c3971f16e4b47e927821a19f110b4885111 Mon Sep 17 00:00:00 2001 From: Wim Vervoorn Date: Mon, 16 Dec 2019 14:21:09 +0100 Subject: {drivers,soc}/intel/fsp1_1: Move chipset specific logo handling to SoC FSP logo handling used PcdLogoPtr and PcdLogoSize which are elements of the chipset specific FSP structures. Create soc_load_logo() which will pass the logo pointer and size. This function will call fsp_load_logo which will load the logo. BUG=NA TEST= Build and verified logo is displayed on Facebook FBG1701 Change-Id: I86943e64ca1ddd05e7e88fc6b882cfd33b98272e Signed-off-by: Wim Vervoorn Reviewed-on: https://review.coreboot.org/c/coreboot/+/37791 Reviewed-by: Frans Hendriks Tested-by: build bot (Jenkins) --- src/soc/intel/braswell/chip.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/soc/intel/braswell') diff --git a/src/soc/intel/braswell/chip.c b/src/soc/intel/braswell/chip.c index d179cead25..026b281881 100644 --- a/src/soc/intel/braswell/chip.c +++ b/src/soc/intel/braswell/chip.c @@ -181,6 +181,11 @@ void soc_silicon_init_params(SILICON_INIT_UPD *params) board_silicon_USB2_override(params); } +const struct cbmem_entry *soc_load_logo(SILICON_INIT_UPD *params) +{ + return fsp_load_logo(¶ms->PcdLogoPtr, ¶ms->PcdLogoSize); +} + void soc_display_silicon_init_params(const SILICON_INIT_UPD *old, SILICON_INIT_UPD *new) { -- cgit v1.2.3