soc/amd/sabrina: drop graphics.c

Since we don't need to support PCI ID remapping for finding the correct
VBIOS binary for the integrated GPU, graphics.c can be dropped for now.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Ifd5b678f472b3b5888353efd057203eb641be874
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61088
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
This commit is contained in:
Felix Held 2022-01-12 23:23:32 +01:00
parent 283999ad53
commit 8a09cbd336
3 changed files with 0 additions and 27 deletions

View File

@ -39,7 +39,6 @@ ramstage-y += data_fabric.c
ramstage-y += fch.c
ramstage-y += fsp_s_params.c
ramstage-y += gpio.c
ramstage-y += graphics.c
ramstage-y += i2c.c
ramstage-y += mca.c
ramstage-y += preload.c

View File

@ -1,21 +0,0 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* TODO: Check if this is still correct */
#include <device/pci_rom.h>
#include <soc/cpu.h>
#include <stdint.h>
u32 map_oprom_vendev(u32 vendev)
{
u32 new_vendev = vendev;
switch (vendev) {
case CEZANNE_VBIOS_VID_DID:
case BARCELO_VBIOS_VID_DID:
new_vendev = CEZANNE_VBIOS_VID_DID;
break;
}
return new_vendev;
}

View File

@ -1,13 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* TODO: Check if this is still correct */
#ifndef AMD_SABRINA_CPU_H
#define AMD_SABRINA_CPU_H
#define SABRINA_A0_CPUID 0x008a0f00
#define CEZANNE_VBIOS_VID_DID 0x10021638
#define BARCELO_VBIOS_VID_DID 0x100215e7
#endif /* AMD_SABRINA_CPU_H */