aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-01-16 17:46:38 +0100
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-01-19 16:16:33 +0100
commit38040a63a3e838a1eeb56c7d18875be485b14f5c (patch)
tree3a898e3fbb0f3b8dd7f8fb268b8dfcff6f838814 /include
parent7884a0986d18be5ab98b5374bd8bacd031c883a9 (diff)
downloadu-boot-38040a63a3e838a1eeb56c7d18875be485b14f5c.zip
u-boot-38040a63a3e838a1eeb56c7d18875be485b14f5c.tar.gz
u-boot-38040a63a3e838a1eeb56c7d18875be485b14f5c.tar.bz2
efi_loader: printing TCG2 protocol GUID
We support the TCG2 protocol. Allow command efidebug to print it. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'include')
-rw-r--r--include/efi_api.h4
-rw-r--r--include/efi_tcg2.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/efi_api.h b/include/efi_api.h
index a60d1bc..8d5d835 100644
--- a/include/efi_api.h
+++ b/include/efi_api.h
@@ -434,6 +434,10 @@ struct efi_runtime_services {
EFI_GUID(0xe617d64c, 0xfe08, 0x46da, 0xf4, 0xdc, \
0xbb, 0xd5, 0x87, 0x0c, 0x73, 0x00)
+#define EFI_TCG2_PROTOCOL_GUID \
+ EFI_GUID(0x607f766c, 0x7455, 0x42be, 0x93, \
+ 0x0b, 0xe4, 0xd7, 0x6d, 0xb2, 0x72, 0x0f)
+
/**
* struct efi_configuration_table - EFI Configuration Table
*
diff --git a/include/efi_tcg2.h b/include/efi_tcg2.h
index 50a59f9..874306d 100644
--- a/include/efi_tcg2.h
+++ b/include/efi_tcg2.h
@@ -19,10 +19,6 @@
#include <efi_api.h>
#include <tpm-v2.h>
-#define EFI_TCG2_PROTOCOL_GUID \
- EFI_GUID(0x607f766c, 0x7455, 0x42be, 0x93, \
- 0x0b, 0xe4, 0xd7, 0x6d, 0xb2, 0x72, 0x0f)
-
/* TPMV2 only */
#define TCG2_EVENT_LOG_FORMAT_TCG_2 0x00000002
#define EFI_TCG2_EXTEND_ONLY 0x0000000000000001