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>
This commit is contained in:
parent
a60fb4d2db
commit
055fe03795
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue