summaryrefslogtreecommitdiff
path: root/src/mainboard/google/link/i915.c
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@google.com>2013-02-27 09:54:47 -0800
committerRonald G. Minnich <rminnich@gmail.com>2013-03-19 22:42:39 +0100
commit665e3d23f0ca5bfac0d1ad9b7a8cde383ec56289 (patch)
treebfd223c0a1cfaba38f4a0fac59bbc9f219db7f1a /src/mainboard/google/link/i915.c
parentbba809042191bd3e421bdec0b974ce697e85bcba (diff)
downloadcoreboot-665e3d23f0ca5bfac0d1ad9b7a8cde383ec56289.tar.xz
link/graphics: add functions to support aux channel communications
For full integration of FUI into coreboot, we need aux channel communcations. The intel_dp.c is a file taken from Linux and is used for aux channel comms. This file has been cut down to work with coreboot. For now it is associated with the link mainboard until we get a better handle on how this all fits together. This code is almost certainly usable on other platforms in the long term. But one step at a time. Change-Id: I7be4c56e0a7903f3901ac86e12b28f3bdc0f7947 Signed-off-by: Ronald G. Minnich <rminnich@google.com> Reviewed-on: http://review.coreboot.org/2834 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/mainboard/google/link/i915.c')
-rw-r--r--src/mainboard/google/link/i915.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/link/i915.c b/src/mainboard/google/link/i915.c
index de7c306c55..d6438cb9d7 100644
--- a/src/mainboard/google/link/i915.c
+++ b/src/mainboard/google/link/i915.c
@@ -62,7 +62,7 @@ extern int oprom_is_loaded;
#define READ32(addr) io_i915_READ32(addr)
#define WRITE32(val, addr) io_i915_WRITE32(val, addr)
-static unsigned long io_i915_READ32(unsigned long addr)
+unsigned long io_i915_READ32(unsigned long addr)
{
unsigned long val;
outl(addr, addrport);
@@ -70,7 +70,7 @@ static unsigned long io_i915_READ32(unsigned long addr)
return val;
}
-static void io_i915_WRITE32(unsigned long val, unsigned long addr)
+void io_i915_WRITE32(unsigned long val, unsigned long addr)
{
outl(addr, addrport);
outl(val, dataport);