summaryrefslogtreecommitdiff
path: root/src/northbridge/intel/sandybridge
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2017-07-29 01:46:23 +0200
committerNico Huber <nico.h@gmx.de>2017-07-30 00:07:01 +0000
commit23b93dd7d806e6f8ca899adb0449b5d6accba3ba (patch)
treec7ac6b2492c17b4f1ccca0a84b790f7886157ed3 /src/northbridge/intel/sandybridge
parent2b5c02143152cee95fc189f05cca2243089ab45d (diff)
intel/sandybridge: Clean VGA BIOS ids up a little
Sync map_oprom_vendev() and autoport with the list of PCI ids in the `gma.c` driver, remove one obsolete Kconfig default override. Change-Id: I12f24f415b695c516fbb947114e09c873af2e439 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/20814 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/northbridge/intel/sandybridge')
-rw-r--r--src/northbridge/intel/sandybridge/gma.c22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/northbridge/intel/sandybridge/gma.c b/src/northbridge/intel/sandybridge/gma.c
index 6d1044c77a..db24ddac5f 100644
--- a/src/northbridge/intel/sandybridge/gma.c
+++ b/src/northbridge/intel/sandybridge/gma.c
@@ -258,18 +258,20 @@ static const struct gt_powermeter ivb_pm_gt2_35w[] = {
u32 map_oprom_vendev(u32 vendev)
{
- u32 new_vendev=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 0x80860156: /* IVB */
- case 0x80860166: /* IVB */
- new_vendev=0x80860106; /* GT1 Mobile */
+ case 0x80860102: /* SNB GT1 Desktop */
+ case 0x8086010a: /* SNB GT1 Server */
+ case 0x80860112: /* SNB GT2 Desktop */
+ case 0x80860116: /* SNB GT2 Mobile */
+ case 0x80860122: /* SNB GT2 Desktop >=1.3GHz */
+ case 0x80860126: /* SNB GT2 Mobile >=1.3GHz */
+ case 0x80860152: /* IVB GT1 Desktop */
+ case 0x80860156: /* IVB GT1 Mobile */
+ case 0x80860162: /* IVB GT2 Desktop */
+ case 0x80860166: /* IVB GT2 Mobile */
+ new_vendev = 0x80860106;/* SNB GT1 Mobile */
break;
}