aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2017-12-11 17:42:08 -0800
committerColin Cross <ccross@android.com>2017-12-11 17:43:34 -0800
commit1d3b7dacf80d5003a816a38ad4481b5cf7cb8c80 (patch)
tree4d638b10f3160aec9d3bbb2f789bafd685f0eed9
parent40e9f967e4ef7613f63994378a06db365194d604 (diff)
downloadtpm2-1d3b7dacf80d5003a816a38ad4481b5cf7cb8c80.tar.gz
Revert "report successful startup to the platform"
Broke the build. This reverts commit ae8d044cd15f49f56de4db84da7203a0ac2ff783. Bug: 70533835 Test: none Change-Id: Ib9f874e70e71145dd78b0895502f47c4adf0afca
-rw-r--r--Startup.c3
-rw-r--r--include/tpm2/Platform.h6
2 files changed, 0 insertions, 9 deletions
diff --git a/Startup.c b/Startup.c
index 54df25b..8759e52 100644
--- a/Startup.c
+++ b/Startup.c
@@ -163,8 +163,5 @@ TPM2_Startup(
// The H-CRTM state no longer matters
g_DrtmPreStartup = FALSE;
- if (startup == SU_RESET)
- _plat__ResetCallback();
-
return TPM_RC_SUCCESS;
}
diff --git a/include/tpm2/Platform.h b/include/tpm2/Platform.h
index 4779594..f7bcbcd 100644
--- a/include/tpm2/Platform.h
+++ b/include/tpm2/Platform.h
@@ -384,12 +384,6 @@ _plat__GetFwVersion(
uint32_t *fw2
);
-// A function to call after every successful SU_RESET TPM2_Startup.
-LIB_EXPORT void
-_plat__ResetCallback(
- void
-);
-
int uart_printf(const char *format, ...);
#define ecprintf(format, args...) uart_printf(format, ## args);