summaryrefslogtreecommitdiff
path: root/include/i8042.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-03-11 22:06:50 -0700
committerBin Meng <bmeng.cn@gmail.com>2016-03-17 10:27:24 +0800
commit8226a3e99f1c1e7ded648721d1e16118453761e5 (patch)
tree77984f8d487e193b35b8a9f4947439f4dbe4de1a /include/i8042.h
parent532f2435cfe94e54e01ba68572daa853d7752afa (diff)
input: i8042: Make sure the keyboard is enabled
Add one more step into the init sequence. This fixes the keyboard on samus, which otherwise does not work. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/i8042.h')
-rw-r--r--include/i8042.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/i8042.h b/include/i8042.h
index 9723b6a664..0766488acb 100644
--- a/include/i8042.h
+++ b/include/i8042.h
@@ -35,6 +35,7 @@
#define CMD_KBD_DIS 0xad /* keyboard disable */
#define CMD_KBD_EN 0xae /* keyboard enable */
#define CMD_SET_KBD_LED 0xed /* set keyboard led */
+#define CMD_DRAIN_OUTPUT 0xf4 /* drain output buffer */
#define CMD_RESET_KBD 0xff /* reset keyboard */
/* i8042 command result */