mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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>
This commit is contained in:
parent
7884a0986d
commit
38040a63a3
3 changed files with 8 additions and 4 deletions
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -183,6 +183,10 @@ static const struct {
|
|||
"Device-Tree Fixup",
|
||||
EFI_DT_FIXUP_PROTOCOL_GUID,
|
||||
},
|
||||
{
|
||||
"TCG2",
|
||||
EFI_TCG2_PROTOCOL_GUID,
|
||||
},
|
||||
{
|
||||
"System Partition",
|
||||
PARTITION_SYSTEM_GUID
|
||||
|
|
Loading…
Reference in a new issue