[coreboot-gerrit] Patch set updated for coreboot: e4019bd lenovo/x60/i915.c: Use define for `BSM`

Paul Menzel (paulepanter@users.sourceforge.net) gerrit at coreboot.org
Sun Jun 8 09:00:31 CEST 2014


Paul Menzel (paulepanter at users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5932

-gerrit

commit e4019bda927df8a59bdbce22c6a9065d14940dc2
Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date:   Thu Jun 5 08:50:17 2014 +0200

    lenovo/x60/i915.c: Use define for `BSM`
    
    Although it builds without any further changes, including the header
    
    	src/northbridge/intel/i945/i945.h
    
    where `BSM` is defined, would be useful. Unfortunately that conflicts
    with the already included header `southbridge/intel/bd82x6x/pch.h`,
    so it is left as is.
    
    Change-Id: I7c0a795338c34038169e082446907987364a0e88
    Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
---
 src/mainboard/lenovo/x60/i915.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mainboard/lenovo/x60/i915.c b/src/mainboard/lenovo/x60/i915.c
index b41a0ba..8fbd2a1 100644
--- a/src/mainboard/lenovo/x60/i915.c
+++ b/src/mainboard/lenovo/x60/i915.c
@@ -138,7 +138,7 @@ int gtt_setup(unsigned int mmiobase)
 	PGETBL_save = read32(mmiobase + PGETBL_CTL) & ~PGETBL_ENABLED;
 	PGETBL_save |= PGETBL_ENABLED;
 
-	PGETBL_save |= pci_read_config32(dev_find_slot(0, PCI_DEVFN(2,0)), 0x5c) & 0xfffff000;
+	PGETBL_save |= pci_read_config32(dev_find_slot(0, PCI_DEVFN(2,0)), BSM) & 0xfffff000;
 	PGETBL_save |= 2; /* set GTT to 256kb */
 
 	write32(mmiobase + GFX_FLSH_CNTL, 0);



More information about the coreboot-gerrit mailing list