[coreboot] r3716 - trunk/util/inteltool
svn at coreboot.org
svn at coreboot.org
Sun Nov 2 12:11:40 CET 2008
Author: stepan
Date: 2008-11-02 12:11:40 +0100 (Sun, 02 Nov 2008)
New Revision: 3716
Modified:
trunk/util/inteltool/inteltool.c
trunk/util/inteltool/inteltool.h
trunk/util/inteltool/memory.c
trunk/util/inteltool/pcie.c
Log:
inteltool 82945G/GZ/P/PL Support (trivial)
Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
Modified: trunk/util/inteltool/inteltool.c
===================================================================
--- trunk/util/inteltool/inteltool.c 2008-10-31 18:41:09 UTC (rev 3715)
+++ trunk/util/inteltool/inteltool.c 2008-11-02 11:11:40 UTC (rev 3716)
@@ -31,6 +31,7 @@
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" },
Modified: trunk/util/inteltool/inteltool.h
===================================================================
--- trunk/util/inteltool/inteltool.h 2008-10-31 18:41:09 UTC (rev 3715)
+++ trunk/util/inteltool/inteltool.h 2008-11-02 11:11:40 UTC (rev 3716)
@@ -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])))
Modified: trunk/util/inteltool/memory.c
===================================================================
--- trunk/util/inteltool/memory.c 2008-10-31 18:41:09 UTC (rev 3715)
+++ trunk/util/inteltool/memory.c 2008-11-02 11:11:40 UTC (rev 3716)
@@ -37,6 +37,7 @@
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
Modified: trunk/util/inteltool/pcie.c
===================================================================
--- trunk/util/inteltool/pcie.c 2008-10-31 18:41:09 UTC (rev 3715)
+++ trunk/util/inteltool/pcie.c 2008-11-02 11:11:40 UTC (rev 3716)
@@ -36,6 +36,7 @@
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 @@
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 @@
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
More information about the coreboot
mailing list