From 6eb83f4bf0c6ac88594449f42d606cbb4887615c Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sun, 31 Aug 2014 00:28:47 +0200 Subject: lenovo/x200: Kill access to nonexisting device [copy-paste error] Change-Id: I1be939e870e8792f5ebb23623fe8f7f119adec36 Signed-off-by: Vladimir Serbinenko Reviewed-on: http://review.coreboot.org/6806 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan --- src/mainboard/lenovo/x200/mainboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/lenovo') 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. */ -- cgit v1.2.3