summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-02-19 22:18:08 +0100
committerVladimir Serbinenko <phcoder@gmail.com>2014-03-04 00:41:05 +0100
commit131573056fc12a629f7db0da14d8c50d8d156247 (patch)
tree65c51643c6ff7a1822109d5414cb7edb9263106f /src/drivers
parent1b12ef1ac3bb45a315622dd82d16d3397a74d56f (diff)
downloadcoreboot-131573056fc12a629f7db0da14d8c50d8d156247.tar.xz
nehalem: Replace video init.
Old video init just replayed the sequence. This one actually computes the values. Change-Id: Ic1fe7a2e90dc2cc36ac0d8bcea5cfabc583f09a3 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/5270 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/intel/gma/i915_reg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drivers/intel/gma/i915_reg.h b/src/drivers/intel/gma/i915_reg.h
index 8c08d9f9da..61b909d083 100644
--- a/src/drivers/intel/gma/i915_reg.h
+++ b/src/drivers/intel/gma/i915_reg.h
@@ -4049,6 +4049,11 @@
#define PCH_LVDS 0xe1180
#define LVDS_DETECTED (1 << 1)
+#define LVDS_BORDER_ENABLE (1 << 15)
+#define LVDS_PORT_ENABLE (1 << 31)
+#define LVDS_CLOCK_A_POWERUP_ALL (3 << 8)
+#define LVDS_CLOCK_B_POWERUP_ALL (3 << 4)
+#define LVDS_CLOCK_BOTH_POWERUP_ALL (3 << 2)
/* vlv has 2 sets of panel control regs. */
#define PIPEA_PP_STATUS 0x61200