diff options
Diffstat (limited to 'common/keyboard.c')
-rw-r--r-- | common/keyboard.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/common/keyboard.c b/common/keyboard.c index f1daa5db1f..54386ac2ec 100644 --- a/common/keyboard.c +++ b/common/keyboard.c @@ -506,8 +506,11 @@ int handle_keyboard_command(uint8_t command, uint8_t *output) { #ifdef CONFIG_TASK_X86POWER case I8042_SYSTEM_RESET: - x86_power_reset(); - break; + /* Trigger a cold reset, since that also resets the TPM. If we just + * trigger a warm reset, that doesn't assert PLTRST# and the TPM is + * not reset. See crosbug.com/p/8379. */ + x86_power_reset(1); + break; #endif default: |