summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorKein Yuan <kein.yuan@intel.com>2014-04-01 10:13:38 -0700
committerMarc Jones <marc.jones@se-eng.com>2014-10-28 18:07:41 +0100
commit1d07bf2609b506fe9782dd3fcfe544da07c9a859 (patch)
tree3b520151f9e7b95d69a4f01779bafd12420b218d /src/mainboard/google
parent787809e9ab117475847e8b2daf0c70e3cfff6ff4 (diff)
downloadcoreboot-1d07bf2609b506fe9782dd3fcfe544da07c9a859.tar.xz
rambi: always show dev/rec screens on eDP connected panel
bit: 7 6 5 4 3 2 1 0 LFP2 EFP2 EFP3 CRT2 LFP EFP TV CRT so int 15 0x5f35 need to return 0x8(LFP/eDP) instead of 0x2(TV). BUG=chrome-os-partner:26365 BUG=chrome-os-partner:27505 BRANCH=rambi TEST=Booted with and without HDMI connected monitor. DEV screen always showed on eDP panel on Rambi. Change-Id: I8f876e78383424f517689eb25e9229a27739957b Original-Change-Id: I77edbeb3c86549f90302b4296b5a2f50313ca675 Signed-off-by: Kein Yuan <kein.yuan@intle.com> Reviewed-on: https://chromium-review.googlesource.com/193303 Commit-Queue: Shawn Nematbakhsh <shawnn@chromium.org> Tested-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> (cherry picked from commit dd375462147f182331f336ba826108e58b4e0a47) Signed-off-by: Marc Jones <marc.jones@se-eng.com> Reviewed-on: http://review.coreboot.org/7216 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/rambi/mainboard.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mainboard/google/rambi/mainboard.c b/src/mainboard/google/rambi/mainboard.c
index 19579fb0b7..cd3fc484d2 100644
--- a/src/mainboard/google/rambi/mainboard.c
+++ b/src/mainboard/google/rambi/mainboard.c
@@ -66,16 +66,16 @@ static int int15_handler(void)
/*
* Boot Display Device Hook:
* bit 0 = CRT
- * bit 1 = TV (eDP) *
- * bit 2 = EFP
- * bit 3 = LFP
+ * bit 1 = TV
+ * bit 2 = EFP (HDMI)
+ * bit 3 = LFP (eDP)*
* bit 4 = CRT2
- * bit 5 = TV2 (eDP)
+ * bit 5 = TV2
* bit 6 = EFP2
* bit 7 = LFP2
*/
X86_AX = 0x005f;
- X86_CX = 0x0002;
+ X86_CX = 0x0008;
res = 1;
break;
case 0x5f51: