[coreboot] New patch to review for coreboot: ca19d77 haswell: Drop the device ID check in graphics init path

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Tue Mar 19 01:59:23 CET 2013


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2809

-gerrit

commit ca19d778bbd0dfe34d03f4ad6417f522e851a9a1
Author: Duncan Laurie <dlaurie at chromium.org>
Date:   Thu Mar 7 13:59:39 2013 -0800

    haswell: Drop the device ID check in graphics init path
    
    Change-Id: I10c4264d317b5fac02a44f50ed10b457e1865e17
    Signed-off-by: Duncan Laurie <dlaurie at chromium.org>
---
 src/northbridge/intel/haswell/early_init.c | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/src/northbridge/intel/haswell/early_init.c b/src/northbridge/intel/haswell/early_init.c
index 681af42..a94c0ce 100644
--- a/src/northbridge/intel/haswell/early_init.c
+++ b/src/northbridge/intel/haswell/early_init.c
@@ -56,22 +56,6 @@ static void haswell_setup_graphics(void)
 	u16 reg16;
 	u8 reg8;
 
-	reg16 = pci_read_config16(PCI_DEV(0,2,0), PCI_DEVICE_ID);
-	switch (reg16) {
-	case 0x0102: /* GT1 Desktop */
-	case 0x0106: /* GT1 Mobile */
-	case 0x010a: /* GT1 Server */
-	case 0x0112: /* GT2 Desktop */
-	case 0x0116: /* GT2 Mobile */
-	case 0x0122: /* GT2 Desktop >=1.3GHz */
-	case 0x0126: /* GT2 Mobile >=1.3GHz */
-	case 0x0166: /* IvyBridge ??? */
-		break;
-	default:
-		printk(BIOS_DEBUG, "Graphics not supported by this CPU/chipset.\n");
-		return;
-	}
-
 	printk(BIOS_DEBUG, "Initializing Graphics...\n");
 
 	/* Setup IGD memory by setting GGC[7:3] = 1 for 32MB */



More information about the coreboot mailing list