From 055fe037954c3c7acefc7e59b7d568b400560878 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Tue, 19 Aug 2014 23:59:27 +0200 Subject: i945/gma: don't map the page table Change-Id: I20fb5323cde1f83a3d3adc98251b2f31de25ed24 Signed-off-by: Vladimir Serbinenko Reviewed-on: http://review.coreboot.org/6718 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich Reviewed-by: Edward O'Callaghan --- 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 8b5b05387c..bd800b4107 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); -- cgit v1.2.3