soc/amd/common/block/graphics/graphics: GOP: load VBIOS

Load VBIOS in pci set_resources to PCI_VGA_RAM_IMAGE_START (0xc0000)
since pci_dev_init() will not load it in GOP case (VGA_ROM_RUN is not
set). Add Cezanne GFX PID.

BUG=b:171234996
BRANCH=Zork

Change-Id: I4a6fea9b6cd60c862e15ed2ed539869c0f9bd363
Signed-off-by: Nikolai Vyssotski <nikolai.vyssotski@amd.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49867
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:15:03 -06:00
committed by Martin Roth
parent 1ab35a7f50
commit b649d6ac11
2 changed files with 23 additions and 2 deletions

View File

@@ -178,7 +178,7 @@ static struct rom_header *check_initialized(const struct device *dev)
struct rom_header *run_rom;
struct pci_data *rom_data;
if (!CONFIG(VGA_ROM_RUN))
if (!CONFIG(VGA_ROM_RUN) && !CONFIG(RUN_FSP_GOP))
return NULL;
run_rom = (struct rom_header *)(uintptr_t)PCI_VGA_RAM_IMAGE_START;