Patchwork add i945GSE to inteltool

login
register
about
Submitter Björn Busse
Date 2010-08-01 01:50:51
Message ID <20100801035051.512777l2773fqqd7@mail.baerlin.eu>
Download mbox | patch
Permalink /patch/1705/
State Accepted
Headers show

Comments

Björn Busse - 2010-08-01 01:50:51
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
- add i945GSE to inteltool

Signed-off-by: Björn Busse
Corey Osgood - 2010-08-01 02:43:00
Acked-by: Corey Osgood <corey.osgood@gmail.com>

2010/7/31 Björn Busse <bj.rn@co-assembler.net>:
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
> --
> coreboot mailing list: coreboot@coreboot.org
> http://www.coreboot.org/mailman/listinfo/coreboot
>

Patch

Index: inteltool.h
===================================================================
--- inteltool.h	(revision 5673)
+++ inteltool.h	(working copy)
@@ -61,6 +61,7 @@ 
 #define PCI_DEVICE_ID_INTEL_82915		0x2580
 #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_PM965		0x2a00
 #define PCI_DEVICE_ID_INTEL_Q965		0x2990
 #define PCI_DEVICE_ID_INTEL_82975X		0x277c
Index: pcie.c
===================================================================
--- pcie.c	(revision 5673)
+++ pcie.c	(working copy)
@@ -35,6 +35,7 @@ 
 	switch (nb->device_id) {
 	case PCI_DEVICE_ID_INTEL_82915:
 	case PCI_DEVICE_ID_INTEL_82945GM:
+	case PCI_DEVICE_ID_INTEL_82945GSE:
 	case PCI_DEVICE_ID_INTEL_82945P:
 	case PCI_DEVICE_ID_INTEL_82975X:
 		epbar_phys = pci_read_long(nb, 0x40) & 0xfffffffe;
@@ -92,6 +93,7 @@ 
 	switch (nb->device_id) {
 	case PCI_DEVICE_ID_INTEL_82915:
 	case PCI_DEVICE_ID_INTEL_82945GM:
+	case PCI_DEVICE_ID_INTEL_82945GSE:
 	case PCI_DEVICE_ID_INTEL_82945P:
 	case PCI_DEVICE_ID_INTEL_82975X:
 		dmibar_phys = pci_read_long(nb, 0x4c) & 0xfffffffe;
@@ -150,6 +152,7 @@ 
 	switch (nb->device_id) {
 	case PCI_DEVICE_ID_INTEL_82915:
 	case PCI_DEVICE_ID_INTEL_82945GM:
+	case PCI_DEVICE_ID_INTEL_82945GSE:
 	case PCI_DEVICE_ID_INTEL_82945P:
 	case PCI_DEVICE_ID_INTEL_82975X:
 		pciexbar_reg = pci_read_long(nb, 0x48);
Index: memory.c
===================================================================
--- memory.c	(revision 5673)
+++ memory.c	(working copy)
@@ -36,6 +36,7 @@ 
 	switch (nb->device_id) {
 	case PCI_DEVICE_ID_INTEL_82915:
 	case PCI_DEVICE_ID_INTEL_82945GM:
+	case PCI_DEVICE_ID_INTEL_82945GSE:
 	case PCI_DEVICE_ID_INTEL_82945P:
  	case PCI_DEVICE_ID_INTEL_82975X:
 		mchbar_phys = pci_read_long(nb, 0x44) & 0xfffffffe;
Index: inteltool.c
===================================================================
--- inteltool.c	(revision 5673)
+++ inteltool.c	(working copy)
@@ -40,6 +40,7 @@ 
 	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82915, "82915G/P/GV/GL/PL/910GL" },
 	{ 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_82945GSE, "i945GSE" },
 	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_PM965, "PM965" },
 	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_Q965, "Q963/965" },
 	{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82975X, "i975X" },