summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-02-23 00:09:48 +0100
committerVladimir Serbinenko <phcoder@gmail.com>2014-06-02 21:47:39 +0200
commit12fcb86bba5004ce1b6f8172a08e6d89de2cfed8 (patch)
tree1e36f2af72b46181b734a3e27b925e99e30a210a /src/mainboard
parentfd2501b3f1af1d649484dcdae562cd0694eb61ee (diff)
sandybridge: Pass chip info to i915lightup.
Change-Id: I280441aadb0575dc0b99584cdcd48cc76a0289a2 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/5284 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/link/i915.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mainboard/google/link/i915.c b/src/mainboard/google/link/i915.c
index 2b62bf45c8..233148c698 100644
--- a/src/mainboard/google/link/i915.c
+++ b/src/mainboard/google/link/i915.c
@@ -35,6 +35,7 @@
#include "onboard.h"
#include "ec.h"
#include <southbridge/intel/bd82x6x/pch.h>
+#include <northbridge/intel/sandybridge/gma.h>
#include <smbios.h>
#include <device/pci.h>
#include <ec/google/chromeec/ec.h>
@@ -235,11 +236,8 @@ static int run(int index)
return i+1;
}
-int i915lightup(unsigned int physbase, unsigned int iobase, unsigned int mmio,
- unsigned int gfx);
-
-int i915lightup(unsigned int pphysbase, unsigned int piobase,
- unsigned int pmmio, unsigned int pgfx)
+int i915lightup(const struct northbridge_intel_sandybridge_config *info,
+ u32 pphysbase, u16 piobase, u32 pmmio, u32 pgfx)
{
static struct edid edid;
int edid_ok;