aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Startup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Startup.c b/Startup.c
index 54df25b..053735c 100644
--- a/Startup.c
+++ b/Startup.c
@@ -163,8 +163,10 @@ TPM2_Startup(
// The H-CRTM state no longer matters
g_DrtmPreStartup = FALSE;
+#ifdef EMBEDDED_MODE
if (startup == SU_RESET)
_plat__ResetCallback();
+#endif
return TPM_RC_SUCCESS;
}