[coreboot-gerrit] New patch to review for coreboot: 5b3f0ba i945: Bit 49 of CAPID0 trivial fix

HAOUAS Elyes (ehaouas@noos.fr) gerrit at coreboot.org
Thu Nov 27 13:25:51 CET 2014


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

-gerrit

commit 5b3f0ba478e22fd0cd086ea750b3dd0903151303
Author: Elyes HAOUAS <ehaouas at noos.fr>
Date:   Thu Nov 27 13:23:32 2014 +0100

    i945: Bit 49 of CAPID0 trivial fix
    
    Change-Id: Ifeb277c375a0685b76fa01174a990a4cd05023bc
    Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
 src/northbridge/intel/i945/early_init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/northbridge/intel/i945/early_init.c b/src/northbridge/intel/i945/early_init.c
index 1715c47..4f943c4 100644
--- a/src/northbridge/intel/i945/early_init.c
+++ b/src/northbridge/intel/i945/early_init.c
@@ -196,7 +196,7 @@ static void i945_setup_bars(void)
 
 	/* Wait for MCH BAR to come up */
 	printk(BIOS_DEBUG, "Waiting for MCHBAR to come up...");
-	if ((pci_read_config8(PCI_DEV(0, 0x0f, 0), 0xe6) & 0x2) == 0x00) { /* Bit 49 of CAPID0 */
+	if ((pci_read_config32(PCI_DEV(0, 0x00, 0), 0xe4) & 0x20000) == 0x00) { /* Bit 49 of CAPID0 */
 		do {
 			reg8 = *(volatile u8 *)0xfed40000;
 		} while (!(reg8 & 0x80));



More information about the coreboot-gerrit mailing list