summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ec_commands.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h
index ca91290fcb..6d641b5657 100644
--- a/include/ec_commands.h
+++ b/include/ec_commands.h
@@ -4040,6 +4040,20 @@ struct __ec_align2 ec_response_pd_chip_info {
#define EC_CMD_CR51_LAST 0x03FF
/*****************************************************************************/
+/* Fingerprint MCU commands: range 0x0400-0x040x */
+
+/* Fingerprint SPI sensor passthru command */
+#define EC_CMD_FP_PASSTHRU 0x0400
+
+#define EC_FP_FLAG_NOT_COMPLETE 0x1
+
+struct __ec_align2 ec_params_fp_passthru {
+ uint16_t len; /* Number of bytes to write then read */
+ uint16_t flags; /* EC_FP_FLAG_xxx */
+ uint8_t data[]; /* Data to send */
+};
+
+/*****************************************************************************/
/*
* Reserve a range of host commands for board-specific, experimental, or
* special purpose features. These can be (re)used without updating this file.