summaryrefslogtreecommitdiff
path: root/src/mainboard/google/link
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-08-30 00:35:39 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2014-09-13 14:27:03 +0200
commita71bdc318195b864c427cddc60e69a6145a8ab28 (patch)
treed81255e7c3338cb9a28d71b5713e61126c77ec9e /src/mainboard/google/link
parent85620db107d587a8341987162d403f4b7aee9a81 (diff)
downloadcoreboot-a71bdc318195b864c427cddc60e69a6145a8ab28.tar.xz
intel/gma: consolidate vbt code
Change-Id: I80b7facfb9cc9f642dd1c766884dc23da1aab2c8 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/6800 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/mainboard/google/link')
-rw-r--r--src/mainboard/google/link/i915.c4
-rw-r--r--src/mainboard/google/link/i915io.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/mainboard/google/link/i915.c b/src/mainboard/google/link/i915.c
index c24c4bd197..383c89126a 100644
--- a/src/mainboard/google/link/i915.c
+++ b/src/mainboard/google/link/i915.c
@@ -236,8 +236,8 @@ static int run(int index)
return i+1;
}
-int i915lightup(const struct northbridge_intel_sandybridge_config *info,
- u32 pphysbase, u16 piobase, u32 pmmio, u32 pgfx)
+int i915lightup_sandy(const struct i915_gpu_controller_info *info,
+ u32 pphysbase, u16 piobase, u32 pmmio, u32 pgfx)
{
static struct edid edid;
int edid_ok;
diff --git a/src/mainboard/google/link/i915io.c b/src/mainboard/google/link/i915io.c
index 4bf0e6fd86..b66771a7c1 100644
--- a/src/mainboard/google/link/i915io.c
+++ b/src/mainboard/google/link/i915io.c
@@ -18,6 +18,7 @@
*/
#include <stdint.h>
+#include <stdlib.h>
#include "i915io.h"
struct iodef iodefs[] = {