[coreboot-gerrit] Patch set updated for coreboot: b300623 intel/i945: Add PCI ID of IGD on Intel 945G/945GZ/945GC

HAOUAS Elyes (ehaouas@noos.fr) gerrit at coreboot.org
Sat Jul 12 08:41:39 CEST 2014


HAOUAS Elyes (ehaouas at noos.fr) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6192

-gerrit

commit b3006237e9fd5353f8858a28ec9b246751fc2f73
Author: Elyes HAOUAS <ehaouas at noos.fr>
Date:   Fri Jul 11 21:29:28 2014 +0200

    intel/i945: Add PCI ID of IGD on Intel 945G/945GZ/945GC
    
    Change-Id: I263eeba8fcfdfe9253449913bb46956c796ac825
    Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
 src/northbridge/intel/i945/Kconfig |  3 ++-
 src/northbridge/intel/i945/gma.c   | 12 ++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/src/northbridge/intel/i945/Kconfig b/src/northbridge/intel/i945/Kconfig
index 360b2ab..99ea1fd 100644
--- a/src/northbridge/intel/i945/Kconfig
+++ b/src/northbridge/intel/i945/Kconfig
@@ -41,7 +41,8 @@ config BOOTBLOCK_NORTHBRIDGE_INIT
 
 config VGA_BIOS_ID
 	string
-	default "8086,27a2"
+	default "8086,27a2" if NORTHBRIDGE_INTEL_SUBTYPE_I945GM
+	default "8086,2772" if NORTHBRIDGE_INTEL_SUBTYPE_I945GC
 
 config CHANNEL_XOR_RANDOMIZATION
 	bool
diff --git a/src/northbridge/intel/i945/gma.c b/src/northbridge/intel/i945/gma.c
index c04483e..061770a 100644
--- a/src/northbridge/intel/i945/gma.c
+++ b/src/northbridge/intel/i945/gma.c
@@ -142,13 +142,25 @@ static struct device_operations gma_func1_ops = {
 };
 
 static const struct pci_driver i945_gma_func0_driver __pci_driver = {
+#if CONFIG_NORTHBRIDGE_INTEL_SUBTYPE_I945GM
 	.ops	= &gma_func0_ops,
 	.vendor	= PCI_VENDOR_ID_INTEL,
 	.device	= 0x27a2,
+#elif CONFIG_NORTHBRIDGE_INTEL_SUBTYPE_I945GC
+	.ops	= &gma_func0_ops,
+	.vendor	= PCI_VENDOR_ID_INTEL,
+	.device	= 0x2772,
+#endif
 };
 
 static const struct pci_driver i945_gma_func1_driver __pci_driver = {
+#if CONFIG_NORTHBRIDGE_INTEL_SUBTYPE_I945GM
 	.ops	= &gma_func1_ops,
 	.vendor	= PCI_VENDOR_ID_INTEL,
 	.device	= 0x27a6,
+#elif CONFIG_NORTHBRIDGE_INTEL_SUBTYPE_I945GC
+	.ops	= &gma_func1_ops,
+	.vendor	= PCI_VENDOR_ID_INTEL,
+	.device	= 0x2776,
+#endif
 };



More information about the coreboot-gerrit mailing list