[coreboot-gerrit] New patch to review for coreboot: a0f8081 Revert "Lenovo X60: Native VGA init: Get rid of the memory corruptions."

Alexandru Gagniuc (mr.nuke.me@gmail.com) gerrit at coreboot.org
Tue Dec 17 23:21:29 CET 2013


Alexandru Gagniuc (mr.nuke.me at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4538

-gerrit

commit a0f8081ad27174ff3def665aeee3b5f3f9815e6e
Author: Alexandru Gagniuc <mr.nuke.me at gmail.com>
Date:   Tue Dec 17 16:15:29 2013 -0600

    Revert "Lenovo X60: Native VGA init: Get rid of the memory corruptions."
    
    This reverts commit c882d93054f17439569bf64f9d13c9059e6a471e.
    
    The native VGA code was unfinished and submitted in error. Revert it
    in anticipation of the finished patches.
    
    Change-Id: Ided074dd86176002dcde5aacec3d9aa9a68715a1
    Signed-off-by: Alexandru Gagniuc <mr.nuke.me at gmail.com>
---
 src/mainboard/lenovo/x60/i915.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/mainboard/lenovo/x60/i915.c b/src/mainboard/lenovo/x60/i915.c
index 0d32672..893c038 100644
--- a/src/mainboard/lenovo/x60/i915.c
+++ b/src/mainboard/lenovo/x60/i915.c
@@ -138,8 +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 |= 2; /* set GTT to 256kb */
+	printk(BIOS_DEBUG, "PGETBL_save=0x%lx\n", PGETBL_save);
 
 	write32(mmiobase + GFX_FLSH_CNTL, 0);
 



More information about the coreboot-gerrit mailing list