[PATCH v2 08/10] sandbox: tpm: Support storing device state in tpm2
Simon Glass
sjg at chromium.org
Sat Jul 24 23:12:01 CEST 2021
At present the tpm2 emulator does not support storing the device state.
Add this so we can handle the normal vboot flow through the sandbox
executables (VPL->SPL etc.) with the TPM contents staying in place.
Note: sandbox has not yet been converted to use livetree for the state
information, since livetree does not yet support writing to the tree.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v1)
drivers/tpm/tpm2_tis_sandbox.c | 139 +++++++++++++++++++++++++++++++++
1 file changed, 139 insertions(+)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list