summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-08-31 00:28:47 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2014-08-31 21:14:11 +0200
commit6eb83f4bf0c6ac88594449f42d606cbb4887615c (patch)
treeffdff145446ce1efa5471240c0191ee3cd295536
parent7e8e313739138910b6d6da3e056a099a4ac72157 (diff)
lenovo/x200: Kill access to nonexisting device [copy-paste error]
Change-Id: I1be939e870e8792f5ebb23623fe8f7f119adec36 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/6806 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
-rw-r--r--src/mainboard/lenovo/x200/mainboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/lenovo/x200/mainboard.c b/src/mainboard/lenovo/x200/mainboard.c
index df314630ff..c83ad70630 100644
--- a/src/mainboard/lenovo/x200/mainboard.c
+++ b/src/mainboard/lenovo/x200/mainboard.c
@@ -85,7 +85,7 @@ static int int15_handler(void)
It's controlled by a DIP switch but was always
set to 4 while only values of 5 and 6 worked. */
X86_AX = 0x005f;
- X86_CX = (inb(0x60f) & 0x0f) + 1;
+ X86_CX = 0x2;
break;
case 0x5f70:
/* Sandybridge boards return 0 here. */