[coreboot-gerrit] Patch set updated for coreboot: 87a682a i945/gma: don't map the page table

Vladimir Serbinenko (phcoder@gmail.com) gerrit at coreboot.org
Wed Aug 20 21:23:36 CEST 2014


Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6718

-gerrit

commit 87a682a0443d3c008caf7f04616fe1024a480120
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date:   Tue Aug 19 23:59:27 2014 +0200

    i945/gma: don't map the page table
    
    Change-Id: I20fb5323cde1f83a3d3adc98251b2f31de25ed24
    Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
 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 8b5b053..bd800b4 100644
--- a/src/northbridge/intel/i945/gma.c
+++ b/src/northbridge/intel/i945/gma.c
@@ -360,7 +360,7 @@ static int intel_gma_init(struct northbridge_intel_i945_config *conf,
 		printk(BIOS_DEBUG, "%dM UMA\n", uma_size >> 10);
 	}
 
-	for (i = 0; i < uma_size / 4; i++)
+	for (i = 0; i < (uma_size - 256) / 4; i++)
 	{
 		outl((i << 2) | 1, piobase);
 		outl(pphysbase + (i << 12) + 1, piobase + 4);



More information about the coreboot-gerrit mailing list