summaryrefslogtreecommitdiff
path: root/util/inteltool
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2008-11-02 11:11:40 +0000
committerStefan Reinauer <stepan@openbios.org>2008-11-02 11:11:40 +0000
commit3d9a12f65df48bee260c522c1c2d32343cc7fd73 (patch)
tree09afa588ab1501d4030562202a20b7090e7b9ed6 /util/inteltool
parent5d7a1c844e56bc9dd101c8a900bf3284b633d04b (diff)
inteltool 82945G/GZ/P/PL Support (trivial)
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
Diffstat (limited to 'util/inteltool')
-rw-r--r--util/inteltool/inteltool.c1
-rw-r--r--util/inteltool/inteltool.h1
-rw-r--r--util/inteltool/memory.c1
-rw-r--r--util/inteltool/pcie.c3
4 files changed, 6 insertions, 0 deletions
diff --git a/util/inteltool/inteltool.c b/util/inteltool/inteltool.c
index ff17d9b168..94542c98e0 100644
--- a/util/inteltool/inteltool.c
+++ b/util/inteltool/inteltool.c
@@ -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" },
diff --git a/util/inteltool/inteltool.h b/util/inteltool/inteltool.h
index 132d46fd10..b0ca8522a1 100644
--- a/util/inteltool/inteltool.h
+++ b/util/inteltool/inteltool.h
@@ -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])))
diff --git a/util/inteltool/memory.c b/util/inteltool/memory.c
index 24a9f7c670..99a57535dd 100644
--- a/util/inteltool/memory.c
+++ b/util/inteltool/memory.c
@@ -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
diff --git a/util/inteltool/pcie.c b/util/inteltool/pcie.c
index f62f78cb07..8ea9d215b1 100644
--- a/util/inteltool/pcie.c
+++ b/util/inteltool/pcie.c
@@ -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