summaryrefslogtreecommitdiff
path: root/src/soc/amd/cezanne/graphics.c
blob: 491ca871f0694f001cbcfcd4d4884c3635684564 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0-only */

#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;
}