summaryrefslogtreecommitdiff
path: root/lib/tpm-v2.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-11-07 23:00:29 -0500
committerTom Rini <trini@konsulko.com>2021-11-07 23:00:29 -0500
commitf8ed9059001d803b0eae4b49178789aa0e29edec (patch)
tree5742b9a5d71cafcdc7a20c6c618122b8b82adc59 /lib/tpm-v2.c
parent52207514ba419a69a8105d16997b025f966c8879 (diff)
parentf8d7e6e941321e40c4afa39635116ca4144c4f29 (diff)
Merge tag 'efi-2022-01-rc2' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request for efi-2022-01-rc2 Documentation: * improve description of mmc rescan * remove obsolete PPC documenation UEFI * Provide unit test for the EFI_TCG2_PROTOCOL * Implement add EFI_TCG2_PROTOCOL.SubmitCommand * Start the implementation of a 64 bit EFI app * Reduce rcar3_salvator-x image size
Diffstat (limited to 'lib/tpm-v2.c')
-rw-r--r--lib/tpm-v2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/tpm-v2.c b/lib/tpm-v2.c
index 235f8c20d43..2e7b27bd6bb 100644
--- a/lib/tpm-v2.c
+++ b/lib/tpm-v2.c
@@ -659,3 +659,9 @@ u32 tpm2_disable_platform_hierarchy(struct udevice *dev)
return 0;
}
+
+u32 tpm2_submit_command(struct udevice *dev, const u8 *sendbuf,
+ u8 *recvbuf, size_t *recv_size)
+{
+ return tpm_sendrecv_command(dev, sendbuf, recvbuf, recv_size);
+}