summaryrefslogtreecommitdiff
path: root/src/northbridge/intel/i945
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-05-31 17:08:40 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-06-18 20:28:58 +0200
commitf565ab0e2500090f9392d83c7b0e8b8bbab67ce4 (patch)
tree466a16ff4cf1a5693821c0740749daaa76fe9471 /src/northbridge/intel/i945
parentcc483aee964f26d064555c581db257202ec3e494 (diff)
downloadcoreboot-f565ab0e2500090f9392d83c7b0e8b8bbab67ce4.tar.xz
lenovo/x60: Fix build issue with DO_NATIVE_VGA_INIT
Use the value from hardware for uma_memory_base. Change-Id: I70351166db6634ef3bca2bf12051ccc3730cab8e Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5893 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/northbridge/intel/i945')
-rw-r--r--src/northbridge/intel/i945/gma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/northbridge/intel/i945/gma.c b/src/northbridge/intel/i945/gma.c
index 1cf80a92fa..219718627b 100644
--- a/src/northbridge/intel/i945/gma.c
+++ b/src/northbridge/intel/i945/gma.c
@@ -64,6 +64,7 @@ static void gma_func0_init(struct device *dev)
);
int i915lightup(u32 physbase, u32 iobase, u32 mmiobase, u32 gfx);
+ u32 uma_memory_base = pci_read_config32(dev, BSM) & ~((1 << 20) - 1);
int lightup_ok = i915lightup(uma_memory_base, iobase, mmiobase, graphics_base);
if (lightup_ok)
gfx_set_init_done(1);