aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2017-12-12 02:42:02 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-12-12 02:42:02 +0000
commitaddaa5e56d1040b8628636e9a744ef8e7daf773e (patch)
tree4d638b10f3160aec9d3bbb2f789bafd685f0eed9
parentea769a9c6e0cf56d6fc7ad1b9004697a5a157ba1 (diff)
parente7d921b9f064d107273bf5bf05fddb6e7cdfe8b8 (diff)
downloadtpm2-addaa5e56d1040b8628636e9a744ef8e7daf773e.tar.gz
Revert "report successful startup to the platform" am: 1d3b7dacf8 am: cfe80ed361
am: e7d921b9f0 Change-Id: Ia097b6fda833f55bfaee60505e9ea380f08cbfad
-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);