[coreboot-gerrit] Patch set updated for coreboot: 55e80d1 lenovo/x60: Fix build issue with DO_NATIVE_VGA_INIT

Stefan Tauner (stefan.tauner@gmx.at) gerrit at coreboot.org
Sat Jun 7 22:21:53 CEST 2014


Stefan Tauner (stefan.tauner at gmx.at) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5893

-gerrit

commit 55e80d15cbe15e3755b7234248719be1e6e245e2
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>
---
 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..0c45cb3 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