[coreboot] New patch to review for coreboot: 40fec90 inteltool: add support for 946GZ and 946PL

Stefan Tauner (stefan.tauner@gmx.at) gerrit at coreboot.org
Sat Oct 13 06:25:36 CEST 2012


Stefan Tauner (stefan.tauner at gmx.at) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1576

-gerrit

commit 40fec9087f4116f0a136ec4f79f5bf2345e300fa
Author: Stefan Tauner <stefan.tauner at gmx.at>
Date:   Sat Oct 13 06:23:52 2012 +0200

    inteltool: add support for 946GZ and 946PL
    
    Change-Id: Ied0ff16c16d8c2f04b55fe6b0a6ee38966d3c424
    Signed-off-by: Stefan Tauner <stefan.tauner at gmx.at>
---
 util/inteltool/inteltool.c | 1 +
 util/inteltool/inteltool.h | 1 +
 util/inteltool/memory.c    | 1 +
 util/inteltool/pcie.c      | 3 +++
 4 files changed, 6 insertions(+)

diff --git a/util/inteltool/inteltool.c b/util/inteltool/inteltool.c
index 2d99863..be2b721 100644
--- a/util/inteltool/inteltool.c
+++ b/util/inteltool/inteltool.c
@@ -54,6 +54,7 @@ static const struct {
 	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82945P, "945P" },
 	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82945GM, "945GM" },
 	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82945GSE, "945GSE" },
+	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82946, "946GZ/PL" },
 	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82965PM, "965PM" },
 	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82Q965, "Q963/82Q965" },
 	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82975X, "975X" },
diff --git a/util/inteltool/inteltool.h b/util/inteltool/inteltool.h
index 7ef2d8d..00adc68 100644
--- a/util/inteltool/inteltool.h
+++ b/util/inteltool/inteltool.h
@@ -72,6 +72,7 @@
 #define PCI_DEVICE_ID_INTEL_82945P		0x2770
 #define PCI_DEVICE_ID_INTEL_82945GM		0x27a0
 #define PCI_DEVICE_ID_INTEL_82945GSE	0x27ac
+#define PCI_DEVICE_ID_INTEL_82946		0x2970
 #define PCI_DEVICE_ID_INTEL_82965PM		0x2a00
 #define PCI_DEVICE_ID_INTEL_82Q965		0x2990
 #define PCI_DEVICE_ID_INTEL_82975X		0x277c
diff --git a/util/inteltool/memory.c b/util/inteltool/memory.c
index 62d7217..72a2de4 100644
--- a/util/inteltool/memory.c
+++ b/util/inteltool/memory.c
@@ -118,6 +118,7 @@ int print_mchbar(struct pci_dev *nb, struct pci_access *pacc)
 		mchbar_phys = pci_read_long(nb, 0x48) & 0xfffffffe;
 		mchbar_phys |= ((uint64_t)pci_read_long(nb, 0x4c)) << 32;
 		break;
+	case PCI_DEVICE_ID_INTEL_82946:
 	case PCI_DEVICE_ID_INTEL_82Q965:
 	case PCI_DEVICE_ID_INTEL_ATOM_DXXX:
 	case PCI_DEVICE_ID_INTEL_ATOM_NXXX:
diff --git a/util/inteltool/pcie.c b/util/inteltool/pcie.c
index e454f44..752d7b0 100644
--- a/util/inteltool/pcie.c
+++ b/util/inteltool/pcie.c
@@ -91,6 +91,7 @@ int print_epbar(struct pci_dev *nb)
 	case PCI_DEVICE_ID_INTEL_82945GM:
 	case PCI_DEVICE_ID_INTEL_82945GSE:
 	case PCI_DEVICE_ID_INTEL_82945P:
+	case PCI_DEVICE_ID_INTEL_82946:
 	case PCI_DEVICE_ID_INTEL_82975X:
 		epbar_phys = pci_read_long(nb, 0x40) & 0xfffffffe;
 		break;
@@ -156,6 +157,7 @@ int print_dmibar(struct pci_dev *nb)
 	case PCI_DEVICE_ID_INTEL_82975X:
 		dmibar_phys = pci_read_long(nb, 0x4c) & 0xfffffffe;
 		break;
+	case PCI_DEVICE_ID_INTEL_82946:
 	case PCI_DEVICE_ID_INTEL_82965PM:
 	case PCI_DEVICE_ID_INTEL_82Q965:
 	case PCI_DEVICE_ID_INTEL_82Q35:
@@ -260,6 +262,7 @@ int print_pciexbar(struct pci_dev *nb)
 	case PCI_DEVICE_ID_INTEL_82975X:
 		pciexbar_reg = pci_read_long(nb, 0x48);
 		break;
+	case PCI_DEVICE_ID_INTEL_82946:
 	case PCI_DEVICE_ID_INTEL_82965PM:
 	case PCI_DEVICE_ID_INTEL_82Q965:
 	case PCI_DEVICE_ID_INTEL_82Q35:




More information about the coreboot mailing list