From 1dd448c0cfe00208e068cdab6fc20f983c9df0c4 Mon Sep 17 00:00:00 2001 From: Vagiz Trakhanov Date: Thu, 28 Sep 2017 14:42:11 +0000 Subject: nb/intel: Add Ivy Bridge Server (Xeon-E3v2) PCI IDs Change-Id: I1899dbe9498a0cc83b65b4bc1c6c0a555637fd05 Signed-off-by: Vagiz Tarkhanov Reviewed-on: https://review.coreboot.org/21753 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/northbridge/intel/sandybridge/early_init.c | 1 + src/northbridge/intel/sandybridge/gma.c | 3 ++- src/northbridge/intel/sandybridge/northbridge.c | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/northbridge/intel/sandybridge/early_init.c b/src/northbridge/intel/sandybridge/early_init.c index 3580f3509d..2f1b790bcb 100644 --- a/src/northbridge/intel/sandybridge/early_init.c +++ b/src/northbridge/intel/sandybridge/early_init.c @@ -98,6 +98,7 @@ static void sandybridge_setup_graphics(void) case 0x0156: /* IvyBridge */ case 0x0162: /* IvyBridge */ case 0x0166: /* IvyBridge */ + case 0x016a: /* IvyBridge */ break; default: printk(BIOS_DEBUG, "Graphics not supported by this CPU/chipset.\n"); diff --git a/src/northbridge/intel/sandybridge/gma.c b/src/northbridge/intel/sandybridge/gma.c index 029bb05bb3..25c9ea92f3 100644 --- a/src/northbridge/intel/sandybridge/gma.c +++ b/src/northbridge/intel/sandybridge/gma.c @@ -271,6 +271,7 @@ u32 map_oprom_vendev(u32 vendev) case 0x80860156: /* IVB GT1 Mobile */ case 0x80860162: /* IVB GT2 Desktop */ case 0x80860166: /* IVB GT2 Mobile */ + case 0x8086016a: /* IVB GT2 Server */ new_vendev = 0x80860106;/* SNB GT1 Mobile */ break; } @@ -756,7 +757,7 @@ static struct device_operations gma_func0_ops = { static const unsigned short pci_device_ids[] = { 0x0102, 0x0106, 0x010a, 0x0112, 0x0116, 0x0122, 0x0126, 0x0156, - 0x0166, 0x0162, 0x0152, + 0x0166, 0x0162, 0x016a, 0x0152, 0 }; static const struct pci_driver gma __pci_driver = { diff --git a/src/northbridge/intel/sandybridge/northbridge.c b/src/northbridge/intel/sandybridge/northbridge.c index 821da87871..9fed17ecee 100644 --- a/src/northbridge/intel/sandybridge/northbridge.c +++ b/src/northbridge/intel/sandybridge/northbridge.c @@ -517,6 +517,12 @@ static const struct pci_driver mc_driver_1 __pci_driver = { .device = 0x0154, /* Ivy bridge */ }; +static const struct pci_driver mc_driver_158 __pci_driver = { + .ops = &mc_ops, + .vendor = PCI_VENDOR_ID_INTEL, + .device = 0x0158, /* Ivy bridge */ +}; + static void cpu_bus_init(device_t dev) { initialize_cpus(dev->link_list); -- cgit v1.2.3