[coreboot-gerrit] New patch to review for coreboot: nb/i945/gma.c: Do not try to load vbios when selecting native init

Arthur Heymans (arthur@aheymans.xyz) gerrit at coreboot.org
Thu Oct 20 20:23:26 CEST 2016


Arthur Heymans (arthur at aheymans.xyz) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17075

-gerrit

commit 718f0aca8483d83d97df9f9bb0ebfabc3a1fea74
Author: Arthur Heymans <arthur at aheymans.xyz>
Date:   Thu Oct 20 20:18:12 2016 +0200

    nb/i945/gma.c: Do not try to load vbios when selecting native init
    
    This fixes a typo introduced in 9c5fc62f: "nb/i945/gma.c: use IS_ENABLED
    instead of #if, #endif".
    
    Change-Id: I2c9ca796767a507483c32867f9b7f172842a1ab3
    Signed-off-by: Arthur Heymans <arthur at aheymans.xyz>
---
 src/northbridge/intel/i945/gma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/northbridge/intel/i945/gma.c b/src/northbridge/intel/i945/gma.c
index 4baed80..3e68aa3 100644
--- a/src/northbridge/intel/i945/gma.c
+++ b/src/northbridge/intel/i945/gma.c
@@ -594,7 +594,7 @@ static void gma_func0_init(struct device *dev)
 	pci_write_config32(dev, PCI_COMMAND, reg32 | PCI_COMMAND_MASTER
 		 | PCI_COMMAND_IO | PCI_COMMAND_MEMORY);
 
-	if (IS_ENABLED(CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT)) {
+	if (!IS_ENABLED(CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT)) {
 		/* PCI Init, will run VBIOS */
 		pci_dev_init(dev);
 	}



More information about the coreboot-gerrit mailing list