summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEddie James <eajames@linux.ibm.com>2023-10-24 10:43:48 -0500
committerIlias Apalodimas <ilias.apalodimas@linaro.org>2023-10-27 13:08:25 +0300
commit54b96e8b2bae9b61e9e178f9f10cf1b81bcda9ad (patch)
treeb3f35296eb20a2b4699bfeacd8ac2d042678d93c /lib
parent73f40716fbadca0bc1eac890fa2c3ca983110330 (diff)
downloadu-boot-54b96e8b2bae9b61e9e178f9f10cf1b81bcda9ad.tar.gz
u-boot-54b96e8b2bae9b61e9e178f9f10cf1b81bcda9ad.tar.bz2
u-boot-54b96e8b2bae9b61e9e178f9f10cf1b81bcda9ad.zip
tpm: sandbox: Update for needed TPM2 capabilities
The driver needs to support getting the PCRs in the capabilities command. Fix various other things and support the max number of PCRs for TPM2. Remove the !SANDBOX dependency for EFI TCG2 as well. Signed-off-by: Eddie James <eajames@linux.ibm.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/Kconfig2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
index d20aaab6db..4ccd26f94a 100644
--- a/lib/efi_loader/Kconfig
+++ b/lib/efi_loader/Kconfig
@@ -379,8 +379,6 @@ config EFI_TCG2_PROTOCOL
bool "EFI_TCG2_PROTOCOL support"
default y
depends on TPM_V2
- # Sandbox TPM currently fails on GetCapabilities needed for TCG2
- depends on !SANDBOX
select SHA1
select SHA256
select SHA384