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 <nikolai.vyssotski@amd.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51420
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
This commit is contained in:
Nikolai Vyssotski 2021-03-11 19:29:20 -06:00 committed by Martin Roth
parent b649d6ac11
commit b606953731
1 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@
#include <soc/soc_util.h>
#include <fsp/api.h>
#include "chip.h"
#include <device/pci.h>
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)