We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 133479f commit bf6e81bCopy full SHA for bf6e81b
1 file changed
src/boot_x86_fsp_payload.c
@@ -41,6 +41,10 @@
41
#include <x86/linux_loader.h>
42
#endif /* defined(WOLFBOOT_LINUX_PAYLOAD) */
43
44
+#if defined(WOLFBOOT_TPM)
45
+#include <tpm.h>
46
+#endif /* WOLFBOOT_TPM */
47
+
48
#if defined(WOLFBOOT_ELF)
49
#include <elf.h>
50
#include <multiboot.h>
@@ -118,6 +122,10 @@ void do_boot(const uint32_t *app)
118
122
{
119
123
struct stage2_parameter *stage2_params;
120
124
125
+#ifdef WOLFBOOT_TPM
126
+ wolfBoot_tpm2_deinit();
127
128
121
129
stage2_params = stage2_get_parameters();
130
#if defined(WOLFBOOT_LINUX_PAYLOAD)
131
mptable_setup();
0 commit comments