diff options
author | Nico Huber <nico.h@gmx.de> | 2016-10-22 20:01:34 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-10-26 22:37:52 +0200 |
commit | 04be6b5949dae23ad989a35a2e6e6f750add6d04 (patch) | |
tree | acaf823d6dfc86bf388613c7fd4cc775f5fcc519 /src/northbridge/intel/i945 | |
parent | 3bfe3404df32ca226c624be0435c640bf1ebeae7 (diff) | |
download | coreboot-04be6b5949dae23ad989a35a2e6e6f750add6d04.tar.xz |
nb/intel/i945: Add PCI id for I945GC
Also drop an odd comment about the resource allocator which seems to
work fine, with the right id.
Change-Id: I9099211fe946c28f90dd7730345b81a3f7f6f545
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/17095
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/northbridge/intel/i945')
-rw-r--r-- | src/northbridge/intel/i945/northbridge.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/northbridge/intel/i945/northbridge.c b/src/northbridge/intel/i945/northbridge.c index ba8b25120d..5d1859133c 100644 --- a/src/northbridge/intel/i945/northbridge.c +++ b/src/northbridge/intel/i945/northbridge.c @@ -177,11 +177,6 @@ static void mc_read_resources(device_t dev) pci_dev_read_resources(dev); - /* So, this is one of the big mysteries in the coreboot resource - * allocator. This resource should make sure that the address space - * of the PCIe memory mapped config space bar. But it does not. - */ - /* We use 0xcf as an unused index for our PCIe bar so that we find it again */ resource = new_resource(dev, 0xcf); resource->base = DEFAULT_PCIEXBAR; @@ -254,8 +249,10 @@ static struct device_operations mc_ops = { .ops_pci = &intel_pci_ops, }; -static const unsigned short pci_device_ids[] = { 0x27a0, 0x27ac, - 0 }; +static const unsigned short pci_device_ids[] = { + 0x2770, /* desktop */ + 0x27a0, 0x27ac, /* mobile */ + 0 }; static const struct pci_driver mc_driver __pci_driver = { .ops = &mc_ops, |