diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2014-02-23 00:10:35 +0100 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2014-07-29 01:23:56 +0200 |
commit | 1783a3c1b571f3035a2697a1328902a01c1e3283 (patch) | |
tree | bcadaaea54075fea9d67e153916cdf6a8def0e45 /src/northbridge/intel/sandybridge/gma.c | |
parent | a014521b9021f5876594e8be038dfd93a24702eb (diff) | |
download | coreboot-1783a3c1b571f3035a2697a1328902a01c1e3283.tar.xz |
ivybridge: LVDS gfx init.
Change-Id: If71e9c94922cd4283d5e175dfd8757d398a72be1
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/5285
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/northbridge/intel/sandybridge/gma.c')
-rw-r--r-- | src/northbridge/intel/sandybridge/gma.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/northbridge/intel/sandybridge/gma.c b/src/northbridge/intel/sandybridge/gma.c index a82a284062..d271a1afcb 100644 --- a/src/northbridge/intel/sandybridge/gma.c +++ b/src/northbridge/intel/sandybridge/gma.c @@ -650,7 +650,9 @@ static void gma_func0_init(struct device *dev) physbase = pci_read_config32(dev, 0x5c) & ~0xf; graphics_base = dev->resource_list[1].base; - i915lightup(conf, physbase, iobase, mmiobase, graphics_base); + int lightup_ok = i915lightup(conf, physbase, iobase, mmiobase, graphics_base); + if (lightup_ok) + gfx_set_init_done(1); #endif } |