Martin Roth has submitted this change. ( https://review.coreboot.org/c/coreboot/+/51421 )
Change subject: soc/amd/cezanne/fsp_params.c: GOP: pass VBIOS pointer to FSP ......................................................................
soc/amd/cezanne/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
Change-Id: I504f808d85d8084e6f32f73cebf02fb0f784cd73 Signed-off-by: Nikolai Vyssotski nikolai.vyssotski@amd.corp-partner.google.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/51421 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Nico Huber nico.h@gmx.de Reviewed-by: Raul Rangel rrangel@chromium.org --- M src/soc/amd/cezanne/fsp_params.c 1 file changed, 2 insertions(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Nico Huber: Looks good to me, but someone else must approve Raul Rangel: Looks good to me, approved
diff --git a/src/soc/amd/cezanne/fsp_params.c b/src/soc/amd/cezanne/fsp_params.c index b875dc0..b117afb 100644 --- a/src/soc/amd/cezanne/fsp_params.c +++ b/src/soc/amd/cezanne/fsp_params.c @@ -1,10 +1,11 @@ /* SPDX-License-Identifier: GPL-2.0-only */
#include <fsp/api.h> +#include <device/pci.h>
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)