aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/intel/i945/gma.c
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2013-06-08 01:31:44 +0200
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2013-11-24 05:38:51 +0100
commitc6f0997ffcfc5c622c2901e95efb4ca97974aadd (patch)
tree8b6fc7d7e7d58e8dbe844169202bf300203705d9 /src/northbridge/intel/i945/gma.c
parent03e4ac6671e91a0180f6eec3db9f55a7c2adbba1 (diff)
Northbridge: i945: Native VGA init: print the GMA and GTT addresses
The patch was made by Peter Stuge, I just split it and added a commit message. Change-Id: Ieaaaa2611f7bb8968f01b16daefe7e2afe870f72 Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> Reviewed-on: http://review.coreboot.org/4001 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/northbridge/intel/i945/gma.c')
-rw-r--r--src/northbridge/intel/i945/gma.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/northbridge/intel/i945/gma.c b/src/northbridge/intel/i945/gma.c
index 32fa9b4724..deda2fa128 100644
--- a/src/northbridge/intel/i945/gma.c
+++ b/src/northbridge/intel/i945/gma.c
@@ -57,6 +57,11 @@ static void gma_func0_init(struct device *dev)
mmiobase = dev->resource_list[0].base;
graphics_base = dev->resource_list[2].base + 0x20000;
+ printk(BIOS_SPEW, "GMADR=0x%08x GTTADR=0x%08x\n",
+ pci_read_config32(dev, 0x18),
+ pci_read_config32(dev, 0x1c)
+ );
+
int i915lightup(u32 physbase, u32 iobase, u32 mmiobase, u32 gfx);
i915lightup(uma_memory_base, iobase, mmiobase, graphics_base);
#endif