diff options
| author | Yicheng Li <yichengli@chromium.org> | 2019-07-08 14:15:37 -0400 |
|---|---|---|
| committer | Lee Jones <lee.jones@linaro.org> | 2019-08-12 03:40:27 -0400 |
| commit | 624e3fceb533b33927535aaec713bd91ec80e99b (patch) | |
| tree | 9a7a2a9189bd604d3a7ba30d8828e49e6cbdbe85 /include/linux/mfd | |
| parent | ed075453d527a2635f245e0a91b92252ad3d1c8a (diff) | |
mfd: cros_ec: Update cros_ec_commands.h
Update cros_ec_commands.h to match the fingerprint MCU section in
the current ec_commands.h
Signed-off-by: Yicheng Li <yichengli@chromium.org>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd')
| -rw-r--r-- | include/linux/mfd/cros_ec_commands.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/mfd/cros_ec_commands.h b/include/linux/mfd/cros_ec_commands.h index 7ccb8757b79d..98415686cbfa 100644 --- a/include/linux/mfd/cros_ec_commands.h +++ b/include/linux/mfd/cros_ec_commands.h | |||
| @@ -5513,6 +5513,18 @@ struct ec_params_fp_seed { | |||
| 5513 | uint8_t seed[FP_CONTEXT_TPM_BYTES]; | 5513 | uint8_t seed[FP_CONTEXT_TPM_BYTES]; |
| 5514 | } __ec_align4; | 5514 | } __ec_align4; |
| 5515 | 5515 | ||
| 5516 | #define EC_CMD_FP_ENC_STATUS 0x0409 | ||
| 5517 | |||
| 5518 | /* FP TPM seed has been set or not */ | ||
| 5519 | #define FP_ENC_STATUS_SEED_SET BIT(0) | ||
| 5520 | |||
| 5521 | struct ec_response_fp_encryption_status { | ||
| 5522 | /* Used bits in encryption engine status */ | ||
| 5523 | uint32_t valid_flags; | ||
| 5524 | /* Encryption engine status */ | ||
| 5525 | uint32_t status; | ||
| 5526 | } __ec_align4; | ||
| 5527 | |||
| 5516 | /*****************************************************************************/ | 5528 | /*****************************************************************************/ |
| 5517 | /* Touchpad MCU commands: range 0x0500-0x05FF */ | 5529 | /* Touchpad MCU commands: range 0x0500-0x05FF */ |
| 5518 | 5530 | ||
