inteltool 82945G/GZ/P/PL Support (trivial)
authorStefan Reinauer <stepan@coresystems.de>
Sun, 2 Nov 2008 11:11:40 +0000 (11:11 +0000)
committerStefan Reinauer <stepan@openbios.org>
Sun, 2 Nov 2008 11:11:40 +0000 (11:11 +0000)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3716 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

util/inteltool/inteltool.c
util/inteltool/inteltool.h
util/inteltool/memory.c
util/inteltool/pcie.c

index ff17d9b1681ca50dd59198e312c08235216d721e..94542c98e0b7bd622b67ff1c5871577c7bc1bb38 100644 (file)
@@ -31,6 +31,7 @@ static const struct {
        char *name;
 } supported_chips_list[] = {
        { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82845, "i845" },
+       { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82945P, "i945P" },
        { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82945GM, "i945GM" },
        { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7MDH, "ICH7-M DH" },
        { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7M, "ICH7-M" },
index 132d46fd1038310bca311e6e90d53035f311324f..b0ca8522a1af9a8a536a540e3f1959750a7e3bbd 100644 (file)
@@ -35,6 +35,7 @@
 #define PCI_DEVICE_ID_INTEL_ICH7MDH    0x27bd
 
 #define PCI_DEVICE_ID_INTEL_82845      0x1a30
+#define PCI_DEVICE_ID_INTEL_82945P     0x2770
 #define PCI_DEVICE_ID_INTEL_82945GM    0x27a0
 
 #define ARRAY_SIZE(a) ((int)(sizeof(a) / sizeof((a)[0])))
index 24a9f7c670150b341ce2d8e73dadcc987a5a6abe..99a57535ddff7593becca802bd71ae53df50ab11 100644 (file)
@@ -37,6 +37,7 @@ int print_mchbar(struct pci_dev *nb)
 
        switch (nb->device_id) {
        case PCI_DEVICE_ID_INTEL_82945GM:
+       case PCI_DEVICE_ID_INTEL_82945P:
                mchbar_phys = pci_read_long(nb, 0x44) & 0xfffffffe;
                break;
        case 0x1234: // Dummy for non-existent functionality
index f62f78cb07bd908104b5f3921fcba470e78c4ae6..8ea9d215b168fbdad8cddc56c829fcb3d1e0d26c 100644 (file)
@@ -36,6 +36,7 @@ int print_epbar(struct pci_dev *nb)
 
        switch (nb->device_id) {
        case PCI_DEVICE_ID_INTEL_82945GM:
+       case PCI_DEVICE_ID_INTEL_82945P:
                epbar_phys = pci_read_long(nb, 0x40) & 0xfffffffe;
                break;
        case 0x1234: // Dummy for non-existent functionality
@@ -77,6 +78,7 @@ int print_dmibar(struct pci_dev *nb)
 
        switch (nb->device_id) {
        case PCI_DEVICE_ID_INTEL_82945GM:
+       case PCI_DEVICE_ID_INTEL_82945P:
                dmibar_phys = pci_read_long(nb, 0x4c) & 0xfffffffe;
                break;
        case 0x1234: // Dummy for non-existent functionality
@@ -120,6 +122,7 @@ int print_pciexbar(struct pci_dev *nb)
 
        switch (nb->device_id) {
        case PCI_DEVICE_ID_INTEL_82945GM:
+       case PCI_DEVICE_ID_INTEL_82945P:
                pciexbar_reg = pci_read_long(nb, 0x48);
                break;
        case 0x1234: // Dummy for non-existent functionality