coreboot-kgpe-d16/src/soc/amd/picasso
Martin Roth 86ba0d73f3 soc/amd/picasso/graphics: implement map_oprom_vendev_rev
Picasso, Dali, and Pollock iGPU share the same PCI device ID, but need
different video BIOSes. This checks the vendor & device IDs along with
the revision and selects the correct video BIOS to use.

Also add the second VGA BIOS for Raven2-based SoCs and change all VGA
BIOS IDs to the format including the revision number.

Since SeaBIOS still expects the CBFS file name without the revision ID,
it won't find the VBIOS any more. As a temporary workaround add the
VBIOS for the silicon it will run on as VGA_BIOS_DGPU_*.

Change-Id: I8f48ecc3fbffddd21d1f830fbee26a09ac351e1c
Signed-off-by: Martin Roth <martinroth@chromium.org>
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://chromium-review.googlesource.com/2040455
Reviewed-by: Raul E Rangel <rrangel@chromium.org>
Reviewed-by: Matt Papageorge <matt.papageorge@amd.corp-partner.google.com>
Reviewed-by: Justin Frodsham <justin.frodsham@amd.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41562
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
2020-06-14 19:08:08 +00:00
..
acpi soc/amd/picasso/acpi: Add a wrapper method WAL1 for calling ALIB function 1 2020-06-14 00:47:15 +00:00
bootblock soc/amd/picasso: establish full early caching memory map 2020-06-08 19:07:53 +00:00
include/soc soc/amd/picasso/graphics: implement map_oprom_vendev_rev 2020-06-14 19:08:08 +00:00
acp.c soc/amd/picasso: initialize ACP device at init() time 2020-06-10 16:23:16 +00:00
acpi.c soc/amd/picasso: correct MCFG ACPI table 2020-06-14 16:51:01 +00:00
agesa_acpi.c soc/amd/picasso: Install AGESA ACPI tables 2020-06-02 13:52:16 +00:00
aoac.c soc/amd/picasso/aoac: Add wait_for_aoac_enabled 2020-06-14 16:53:44 +00:00
chip.c soc/amd/picasso: Reconfigure SPI speeds after FSP-S has run 2020-06-12 02:16:57 +00:00
chip.h soc/amd/picasso: Give the mainboard the ability to modify the MADT table 2020-05-26 14:37:22 +00:00
config.c Remove new additions of "this file is part of" lines 2020-05-13 08:37:21 +00:00
cpu.c amd/picasso: Load x86 microcode from CBFS modules 2020-06-10 21:20:19 +00:00
data_fabric_util.c soc/amd/picasso: Mark FCH MMIO addresses as non-posted 2020-05-13 08:36:46 +00:00
finalize.c src: Remove unused '#include <timer.h>' 2020-06-02 07:39:05 +00:00
fsp_params.c vc/amd/fsp/platform_descriptors: drop prefix from PCIe/DDI structs 2020-06-11 23:03:18 +00:00
gpio.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
graphics.c soc/amd/picasso/graphics: implement map_oprom_vendev_rev 2020-06-14 19:08:08 +00:00
i2c.c soc/amd/picasso: Add set_mmio_dev_ops() to set ops for MMIO devices 2020-06-05 14:08:06 +00:00
Kconfig soc/amd/picasso/graphics: implement map_oprom_vendev_rev 2020-06-14 19:08:08 +00:00
Makefile.inc soc/amd/picasso/graphics: implement map_oprom_vendev_rev 2020-06-14 19:08:08 +00:00
mca.c soc/amd/picasso: Extract reset flags from northbridge.h 2020-05-13 08:36:05 +00:00
memlayout.ld soc/amd/picasso: Place early stages and data buffers at the bottom of DRAM 2020-06-13 06:50:51 +00:00
memmap.c soc/amd/picasso: Place early stages and data buffers at the bottom of DRAM 2020-06-13 06:50:51 +00:00
mrc_cache.c soc/amd/picasso: Enable APOB/MRC training data cache 2020-06-10 18:45:56 +00:00
pmutil.c soc/amd/picasso: Remove unnecessary includes from pmutil.c 2020-06-07 15:29:27 +00:00
psp.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
reset.c soc/amd/picasso: Extract reset flags from northbridge.h 2020-05-13 08:36:05 +00:00
romstage.c soc/amd/picasso: Place early stages and data buffers at the bottom of DRAM 2020-06-13 06:50:51 +00:00
root_complex.c soc/amd/picasso: Place early stages and data buffers at the bottom of DRAM 2020-06-13 06:50:51 +00:00
sata.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
smi.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
smi_util.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
smihandler.c soc/amd/picasso: Use SMU to put system into S3 2020-05-27 19:20:15 +00:00
smu.c soc/amd/picasso/smu: only print time for actual command execution 2020-05-27 22:00:22 +00:00
soc_util.c soc/amd/picasso/soc_util: add comment on socket detection problems 2020-05-28 23:18:22 +00:00
southbridge.c soc/amd/picasso: Move aoac functions to new file 2020-06-14 16:53:20 +00:00
tsc_freq.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
uart.c soc/amd/picasso: Explicitly disable legacy UART 2020-06-14 16:52:58 +00:00
update_microcode.c amd/picasso: Load x86 microcode from CBFS modules 2020-06-10 21:20:19 +00:00
usb.c src: Use pci_dev_ops_pci where applicable 2020-06-06 20:36:51 +00:00