blob: b72157d37f117dd98ef021a74a18fc4e190cf703 [file] [log] [blame]
Andrew Wu06510722013-06-21 21:37:05 +08001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2013 DMP Electronics Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
Andrew Wu06510722013-06-21 21:37:05 +080014 */
15
16/********************************************************************
17 * Change the vendor / device IDs to match the XGI Z9S VBIOS header.
18 ********************************************************************/
19#include <device/pci.h>
20u32 map_oprom_vendev(u32 vendev)
21{
22 u32 new_vendev = vendev;
23
24 switch (vendev) {
25 case 0x18ca0020:
26 new_vendev = 0x18ca0021;
27 break;
28 }
29
30 return new_vendev;
31}