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>
This commit is contained in:
Vladimir Serbinenko
2014-02-19 22:18:08 +01:00
parent 1b12ef1ac3
commit 131573056f
7 changed files with 470 additions and 1831 deletions

View File

@@ -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