summaryrefslogtreecommitdiff
path: root/src/mainboard/google/slippy/i915io.c
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2013-08-06 13:48:12 -0700
committerIsaac Christensen <isaac.christensen@se-eng.com>2014-08-13 19:32:56 +0200
commitc1c6dcf0f3bb332cf493969082414df16c025a32 (patch)
treea3c25ee44e4e2aa52b47d92d0ba5706f553ef67a /src/mainboard/google/slippy/i915io.c
parent77f48cdeade7fc296fb5c973b6b0191ac5bd8c35 (diff)
downloadcoreboot-c1c6dcf0f3bb332cf493969082414df16c025a32.tar.xz
Falco: Patch to enable correct port clock selection for dp
This is required only for haswell since the register configs have changed. Also, created mainboard specific header file Original-Change-Id: I61bf8d7cef1f204735a2f72225c48d6e44a99945 Signed-off-by: Furquan Shaikh <furquan@google.com> Conflicts: src/mainboard/google/slippy/gma.c src/mainboard/google/slippy/i915io.c Conflicts: src/mainboard/google/slippy/gma.c Change-Id: I77f2542ca8228358f59aafd99c0d13168ab47fb5 Reviewed-on: https://gerrit.chromium.org/gerrit/66853 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Commit-Queue: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> (cherry picked from commit 77f9d1ddd4376e2a290d466f0669a43997492c8e) Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com> Reviewed-on: http://review.coreboot.org/6602 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/slippy/i915io.c')
-rw-r--r--src/mainboard/google/slippy/i915io.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mainboard/google/slippy/i915io.c b/src/mainboard/google/slippy/i915io.c
index 7fbffb6616..aae7f29779 100644
--- a/src/mainboard/google/slippy/i915io.c
+++ b/src/mainboard/google/slippy/i915io.c
@@ -26,6 +26,7 @@
#include <delay.h>
#include <drivers/intel/gma/i915.h>
#include <arch/io.h>
+#include "mainboard.h"
/* these variables will be removed when the proper support is finished in src/drivers/intel/gma/intel_dp.c */
int index;
@@ -33,8 +34,6 @@ u32 auxout;
u8 auxin[20];
u8 msg[32];
-extern void mainboard_train_link(struct intel_dp *intel_dp);
-
/* this function will either be renamed or subsumed into ./gma.c:i915_lightup */
void runio(struct intel_dp *dp);
@@ -71,7 +70,7 @@ void runio(struct intel_dp *dp)
gtt_write(PIPECONF(dp->transcoder),0x00000000);
gtt_write(PCH_TRANSCONF(dp->pipe),0x00000000);
- gtt_write(PORT_CLK_SEL(dp->port),PORT_CLK_SEL_LCPLL_1350);
+ mainboard_set_port_clk_dp(dp);
gtt_write(DSPSTRIDE(dp->plane),dp->stride);
gtt_write(DSPCNTR(dp->plane),DISPLAY_PLANE_ENABLE|DISPPLANE_RGBX888);
gtt_write(DEIIR,0x00000080);