summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2012-12-13 16:43:32 -0600
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-03-14 18:28:08 +0100
commit711612989930fdb3c1d60b3fc99ccb6918c3f135 (patch)
tree53d94c1870016634db0624eb93fbd71fa014a39f
parentef8f4c78a55bc8c2874b02177e0612c8bffb5e39 (diff)
haswell: Add VGA PCI ID mappings
Needed to map VGA OPROM IDs to actual device IDs Change-Id: I6743905c3db52519bf18f4bcc1a972aec43d3e9d Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/2674 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marc.jones@se-eng.com>
-rw-r--r--src/northbridge/intel/haswell/gma.c21
1 files changed, 13 insertions, 8 deletions
diff --git a/src/northbridge/intel/haswell/gma.c b/src/northbridge/intel/haswell/gma.c
index 31f4dcc3af..79473d523a 100644
--- a/src/northbridge/intel/haswell/gma.c
+++ b/src/northbridge/intel/haswell/gma.c
@@ -37,14 +37,19 @@ u32 map_oprom_vendev(u32 vendev)
u32 new_vendev=vendev;
switch (vendev) {
- case 0x80860102: /* GT1 Desktop */
- case 0x8086010a: /* GT1 Server */
- case 0x80860112: /* GT2 Desktop */
- case 0x80860116: /* GT2 Mobile */
- case 0x80860122: /* GT2 Desktop >=1.3GHz */
- case 0x80860126: /* GT2 Mobile >=1.3GHz */
- case 0x80860166: /* IVB */
- new_vendev=0x80860106; /* GT1 Mobile */
+ case 0x80860402: /* GT1 Desktop */
+ case 0x80860406: /* GT1 Mobile */
+ case 0x8086040a: /* GT1 Server */
+
+ case 0x80860412: /* GT2 Desktop */
+ case 0x80860416: /* GT2 Mobile */
+ case 0x8086041a: /* GT2 Server */
+
+ case 0x80860422: /* GT3 Desktop */
+ case 0x80860426: /* GT3 Mobile */
+ case 0x8086042a: /* GT3 Server */
+
+ new_vendev=0x80860406; /* GT1 Mobile */
break;
}