Patchwork #176: inteltool: added PCI_DEVICE_ID_INTEL_X44 0x29F0

login
register
about
Submitter Ruud Schramp (DT)
Date 2011-04-04 07:53:19
Message ID <F3B44E70E39E094DA5E637D07D02A83C01AADF08@freddy.holmes.nl>
Download mbox | patch
Permalink /patch/2851/
State Accepted
Headers show

Comments

Ruud Schramp (DT) - 2011-04-04 07:53:19
Signed-off-by: Ruud Schramp <schramp@holmes.nl>

And again as combined patch with PCI-ID 0x29E0 and 0x29F0

Patch

diff -uNr ../../../coreboot-6469/util/inteltool/inteltool.c ./inteltool.c
--- ../../../coreboot-6469/util/inteltool/inteltool.c	2011-03-18 23:08:39.000000000 +0100
+++ ./inteltool.c	2011-03-31 15:43:17.000000000 +0200
@@ -80,6 +80,8 @@ 
 	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH0, "ICH0" },
 	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH, "ICH" },
 	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82371XX, "82371AB/EB/MB" },
+	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_X44, "82X38/X48" },
+	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_32X0, "3200/3210" },
 };
 
 #ifndef __DARWIN__
diff -uNr ../../../coreboot-6469/util/inteltool/inteltool.h ./inteltool.h
--- ../../../coreboot-6469/util/inteltool/inteltool.h	2011-03-18 23:53:38.000000000 +0100
+++ ./inteltool.h	2011-03-31 15:36:25.000000000 +0200
@@ -78,6 +78,8 @@ 
 #define PCI_DEVICE_ID_INTEL_82Q35		0x29b0
 #define PCI_DEVICE_ID_INTEL_82G33		0x29c0
 #define PCI_DEVICE_ID_INTEL_82Q33		0x29d0
+#define PCI_DEVICE_ID_INTEL_X44 		0x29e0
+#define PCI_DEVICE_ID_INTEL_32X0		0x29F0
 #define PCI_DEVICE_ID_INTEL_GS45		0x2a40
 #define PCI_DEVICE_ID_INTEL_X58			0x3405
 #define PCI_DEVICE_ID_INTEL_SCH_POULSBO		0x8100
diff -uNr ../../../coreboot-6469/util/inteltool/memory.c ./memory.c
--- ../../../coreboot-6469/util/inteltool/memory.c	2010-12-17 23:34:58.000000000 +0100
+++ ./memory.c	2011-04-04 09:49:51.000000000 +0200
@@ -109,6 +109,8 @@ 
 		printf("This northbridge does not have MCHBAR.\n");
 		return 1;
 	case PCI_DEVICE_ID_INTEL_GS45:
+	case PCI_DEVICE_ID_INTEL_X44:
+	case PCI_DEVICE_ID_INTEL_32X0:
 		mchbar_phys = pci_read_long(nb, 0x48) & 0xfffffffe;
 		mchbar_phys |= ((uint64_t)pci_read_long(nb, 0x4c)) << 32;
  		break;
diff -uNr ../../../coreboot-6469/util/inteltool/pcie.c ./pcie.c
--- ../../../coreboot-6469/util/inteltool/pcie.c	2010-12-17 23:34:58.000000000 +0100
+++ ./pcie.c	2011-03-31 15:38:48.000000000 +0200
@@ -45,6 +45,8 @@ 
  	case PCI_DEVICE_ID_INTEL_82Q35:
  	case PCI_DEVICE_ID_INTEL_82G33:
  	case PCI_DEVICE_ID_INTEL_82Q33:
+	case PCI_DEVICE_ID_INTEL_X44:
+	case PCI_DEVICE_ID_INTEL_32X0:
 	case PCI_DEVICE_ID_INTEL_GS45:
 	case PCI_DEVICE_ID_INTEL_ATOM_DXXX:
 	case PCI_DEVICE_ID_INTEL_ATOM_NXXX:
@@ -104,6 +106,8 @@ 
 	case PCI_DEVICE_ID_INTEL_82Q35:
 	case PCI_DEVICE_ID_INTEL_82G33:
 	case PCI_DEVICE_ID_INTEL_82Q33:
+	case PCI_DEVICE_ID_INTEL_X44:
+	case PCI_DEVICE_ID_INTEL_32X0:
 	case PCI_DEVICE_ID_INTEL_GS45:
 	case PCI_DEVICE_ID_INTEL_ATOM_DXXX:
 	case PCI_DEVICE_ID_INTEL_ATOM_NXXX:
@@ -167,6 +171,8 @@ 
  	case PCI_DEVICE_ID_INTEL_82Q35:
  	case PCI_DEVICE_ID_INTEL_82G33:
  	case PCI_DEVICE_ID_INTEL_82Q33:
+	case PCI_DEVICE_ID_INTEL_X44:
+	case PCI_DEVICE_ID_INTEL_32X0:
 	case PCI_DEVICE_ID_INTEL_GS45:
 	case PCI_DEVICE_ID_INTEL_ATOM_DXXX:
 	case PCI_DEVICE_ID_INTEL_ATOM_NXXX: