]> git.dujemihanovic.xyz Git - u-boot.git/commit
tpm: sandbox: Update for needed TPM2 capabilities
authorEddie James <eajames@linux.ibm.com>
Tue, 24 Oct 2023 15:43:48 +0000 (10:43 -0500)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Fri, 27 Oct 2023 10:08:25 +0000 (13:08 +0300)
commit54b96e8b2bae9b61e9e178f9f10cf1b81bcda9ad
treeb3f35296eb20a2b4699bfeacd8ac2d042678d93c
parent73f40716fbadca0bc1eac890fa2c3ca983110330
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>
drivers/tpm/tpm2_tis_sandbox.c
lib/efi_loader/Kconfig