summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-08-19 23:59:27 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2014-08-21 19:54:59 +0200
commit055fe037954c3c7acefc7e59b7d568b400560878 (patch)
tree80e2cb15df8f08cd29f281085305a2882dd9d3b2 /src
parenta60fb4d2dbd7748a92c5811f22e62575b1640998 (diff)
i945/gma: don't map the page table
Change-Id: I20fb5323cde1f83a3d3adc98251b2f31de25ed24 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/6718 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src')
-rw-r--r--src/northbridge/intel/i945/gma.c2
1 files changed, 1 insertions, 1 deletions
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);