[coreboot-gerrit] Patch set updated for coreboot: 39dc186 Add IGD "8086, 2772" string for 945G/945GZ/945GC

HAOUAS Elyes (ehaouas@noos.fr) gerrit at coreboot.org
Fri Jul 11 21:29:19 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 39dc186314b3d3cef1595e062a9d7c3046f2bad8
Author: Elyes HAOUAS <ehaouas at noos.fr>
Date:   Fri Jul 11 21:29:28 2014 +0200

    Add IGD "8086,2772" string for 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   | 13 +++++++++++++
 2 files changed, 15 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..2803aec 100644
--- a/src/northbridge/intel/i945/gma.c
+++ b/src/northbridge/intel/i945/gma.c
@@ -142,13 +142,26 @@ 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