]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: tpm: Support storing device state in tpm2
authorSimon Glass <sjg@chromium.org>
Sun, 18 Jul 2021 20:18:04 +0000 (14:18 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 1 Aug 2021 15:05:24 +0000 (09:05 -0600)
commita986216e348153705e0a019afc95da65baa1fff0
tree0e5581b55e4dfdbfb1f86131fc5ab93dcbf71a13
parentd8f105dd7170bcb0370b8ce18503834cdeeec7c1
sandbox: tpm: Support storing device state in tpm2

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@chromium.org>
drivers/tpm/tpm2_tis_sandbox.c