summaryrefslogtreecommitdiff
path: root/include/tpm_registers.h
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2017-01-27 12:48:24 -0800
committerchrome-bot <chrome-bot@chromium.org>2017-01-28 01:52:16 -0800
commit39a41bd665e5abe758be36bd5b5bbf4fe8e43778 (patch)
tree0f4a6489427f6d098c57d6cb8fff147a44d8e370 /include/tpm_registers.h
parentef976e6387c19b49232618493653ebfdd132d676 (diff)
downloadchrome-ec-39a41bd665e5abe758be36bd5b5bbf4fe8e43778.tar.gz
tpm: rename tpm_reset to tpm_reset_request
tpm_reset just requests a tpm reset it doesn't reset the tpm. Rename the function to reflect that. BUG=none BRANCH=none TEST=make buildall Change-Id: I6f4763b5de578a8cf263b2fac98fad3af2c25d65 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/434245 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'include/tpm_registers.h')
-rw-r--r--include/tpm_registers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tpm_registers.h b/include/tpm_registers.h
index 887cc163cd..293a0a99ac 100644
--- a/include/tpm_registers.h
+++ b/include/tpm_registers.h
@@ -40,7 +40,7 @@ void tpm_register_interface(interface_restart_func interface_restart);
* If wipe_nvmem_first is true, the EC and AP will be forced off and TPM memory
* will be erased before the TPM task is reset.
*/
-int tpm_reset(int wait_until_done, int wipe_nvmem_first);
+int tpm_reset_request(int wait_until_done, int wipe_nvmem_first);
/*
* Return true if the TPM is being reset. Usually this helps to avoid