summaryrefslogtreecommitdiff
path: root/include/i8042_protocol.h
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2022-08-15 15:56:10 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-08-18 14:47:22 +0000
commit08d69143b21125f717d7e695481f28ecdfc6d559 (patch)
tree144160d8efbd0b22190b6f0a4cc63eeb2db3bda5 /include/i8042_protocol.h
parent5af88437a4f126c37224f5b3a4c001d14c091d3e (diff)
downloadchrome-ec-08d69143b21125f717d7e695481f28ecdfc6d559.tar.gz
8042: Rename I8042_CMD to ATKBD_CMD and move to a different file
These are actually AT Keyboard commands, and not specific to the i8042 controller. Using the correct prefix will make it easier to understand which device we are interacting with. I also moved the definitions into a different file to make it clear that there is a separation between the two protocols. BUG=b:242886255 BRANCH=none TEST=build guybrush Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: I160f1d71edbce80606d8bcb01dbeb0d2192cfa93 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3835508 Code-Coverage: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Yuval Peress <peress@google.com> Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'include/i8042_protocol.h')
-rw-r--r--include/i8042_protocol.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/i8042_protocol.h b/include/i8042_protocol.h
index f56da0956c..f5ca10dbf7 100644
--- a/include/i8042_protocol.h
+++ b/include/i8042_protocol.h
@@ -14,27 +14,7 @@
#define I8042_CMD_MOUSE_1_1 0xe6
#define I8042_CMD_MOUSE_2_1 0xe7
#define I8042_CMD_MOUSE_RES 0xe8
-#define I8042_CMD_OK_GETID 0xe8
#define I8042_CMD_GET_MOUSE 0xe9
-#define I8042_CMD_EX_ENABLE 0xea
-#define I8042_CMD_EX_SETLEDS 0xeb
-#define I8042_CMD_SETLEDS 0xed
-#define I8042_CMD_DIAG_ECHO 0xee
-#define I8042_CMD_GSCANSET 0xf0
-#define I8042_CMD_SSCANSET 0xf0
-#define I8042_CMD_GETID 0xf2
-#define I8042_CMD_SETREP 0xf3
-#define I8042_CMD_ENABLE 0xf4
-#define I8042_CMD_RESET_DIS 0xf5
-#define I8042_CMD_RESET_DEF 0xf6
-#define I8042_CMD_ALL_TYPEM 0xf7
-#define I8042_CMD_SETALL_MB 0xf8
-#define I8042_CMD_SETALL_MBR 0xfa
-#define I8042_CMD_SET_A_KEY_T 0xfb
-#define I8042_CMD_SET_A_KEY_MR 0xfc
-#define I8042_CMD_SET_A_KEY_M 0xfd
-#define I8042_CMD_RESET 0xff
-#define I8042_CMD_RESEND 0xfe
/* port 0x64 */
#define I8042_READ_CMD_BYTE 0x20