summaryrefslogtreecommitdiff
path: root/src/soc/amd/sabrina/graphics.c
blob: b65ef8855f858a8d3ef1ac1bfc58b8aa343d720d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* 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;
}