[coreboot-gerrit] Patch set updated for coreboot: 62946ed lenovo/x200: Kill access to nonexisting device [copy-paste error]

Vladimir Serbinenko (phcoder@gmail.com) gerrit at coreboot.org
Sun Aug 31 02:03:37 CEST 2014


Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6806

-gerrit

commit 62946ed934b1d27aeed7895bd89cfe3142667b21
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date:   Sun Aug 31 00:28:47 2014 +0200

    lenovo/x200: Kill access to nonexisting device [copy-paste error]
    
    Change-Id: I1be939e870e8792f5ebb23623fe8f7f119adec36
    Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
 src/mainboard/lenovo/x200/mainboard.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mainboard/lenovo/x200/mainboard.c b/src/mainboard/lenovo/x200/mainboard.c
index df31463..c83ad70 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. */



More information about the coreboot-gerrit mailing list