summaryrefslogtreecommitdiff
path: root/include/i8042_protocol.h
diff options
context:
space:
mode:
authorLouis Yung-Chieh Lo <yjlou@chromium.org>2012-10-09 17:30:16 +0800
committerGerrit <chrome-bot@google.com>2012-11-04 20:27:57 -0800
commit25bbb6b5dec3e0eb9672e6d3e0acf032f9e8d8d1 (patch)
tree40a23648aaea55d7d3f28897d88504ea7d155a14 /include/i8042_protocol.h
parent4f410f5468c1ce813450485753ae6f77bca8b7cd (diff)
downloadchrome-ec-25bbb6b5dec3e0eb9672e6d3e0acf032f9e8d8d1.tar.gz
More supports for A20 enable/disable
Add i8042 output port commands (0xf0-0xff), I8042_ENABLE_A20 and I8042_DISABLE_A20. BUG=chrome-os-partner:13119, BRANCH=None TEST=Tested on W7 installer. No KB error shown on EC console. Change-Id: I9ad1fd7baa10683ef18ccf13faf09dc0cefcca0a Signed-off-by: Louis Yung-Chieh Lo <yjlou@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/34994 Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
Diffstat (limited to 'include/i8042_protocol.h')
-rw-r--r--include/i8042_protocol.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/i8042_protocol.h b/include/i8042_protocol.h
index 961d3e337c..eecdafc476 100644
--- a/include/i8042_protocol.h
+++ b/include/i8042_protocol.h
@@ -55,11 +55,15 @@
#define I8042_TEST_KB_PORT 0xab
#define I8042_DIS_KB 0xad
#define I8042_ENA_KB 0xae
+#define I8042_READ_OUTPUT_PORT 0xd0
+#define I8042_WRITE_OUTPUT_PORT 0xd1
#define I8042_ECHO_MOUSE 0xd3 /* expect a byte on port 0x60 */
#define I8042_SEND_TO_MOUSE 0xd4 /* expect a byte on port 0x60 */
+#define I8042_DISABLE_A20 0xdd
+#define I8042_ENABLE_A20 0xdf
#define I8042_PULSE_START 0xf0
-#define I8042_PULSE_END 0xfd
#define I8042_SYSTEM_RESET 0xfe
+#define I8042_PULSE_END 0xff
/* port 0x60 return value */
#define I8042_RET_BAT 0xaa