[coreboot-gerrit] Patch set updated for coreboot: bcad4dc lenovo/x60: Fix build issue with DO_NATIVE_VGA_INIT
Paul Menzel (paulepanter@users.sourceforge.net)
gerrit at coreboot.org
Sun Jun 8 09:00:36 CEST 2014
Paul Menzel (paulepanter at users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5893
-gerrit
commit bcad4dcd79ddb64f794e30d5ed3b80ba0c507bcc
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date: Sat May 31 17:08:40 2014 +0300
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 at gmail.com>
Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
---
src/northbridge/intel/i945/gma.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/northbridge/intel/i945/gma.c b/src/northbridge/intel/i945/gma.c
index 1cf80a9..2197186 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);
More information about the coreboot-gerrit
mailing list