From b6069537317cd66e72c0d08f50fe826f5f22eb7e Mon Sep 17 00:00:00 2001 From: Nikolai Vyssotski Date: Thu, 11 Mar 2021 19:29:20 -0600 Subject: soc/amd/picasso/fsp_params.c: GOP: pass VBIOS pointer to FSP Pass PCI_VGA_RAM_IMAGE_START as VBIOS image pointer for GOP driver. BUG=b:171234996 BRANCH=Zork Change-Id: I49adcacf2abb914e460fbc87b488a22dca8c8af2 Signed-off-by: Nikolai Vyssotski Reviewed-on: https://review.coreboot.org/c/coreboot/+/51420 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber Reviewed-by: Raul Rangel --- src/soc/amd/picasso/fsp_params.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/soc/amd/picasso') diff --git a/src/soc/amd/picasso/fsp_params.c b/src/soc/amd/picasso/fsp_params.c index 067ce2f280..57e51d5c02 100644 --- a/src/soc/amd/picasso/fsp_params.c +++ b/src/soc/amd/picasso/fsp_params.c @@ -9,6 +9,7 @@ #include #include #include "chip.h" +#include static void fsps_update_emmc_config(FSP_S_CONFIG *scfg, const struct soc_amd_picasso_config *cfg) @@ -179,7 +180,7 @@ static void fsp_edp_tuning_upds(FSP_S_CONFIG *scfg, static void fsp_assign_vbios_upds(FSP_S_CONFIG *scfg) { - scfg->vbios_buffer_addr = 0; + scfg->vbios_buffer_addr = CONFIG(RUN_FSP_GOP) ? PCI_VGA_RAM_IMAGE_START : 0; } void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd) -- cgit v1.2.3