]> git.baikalelectronics.ru Git - uboot.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)
commita3a9663c21d04b30ba431c79145bbab1fc7fe15a
tree0e5581b55e4dfdbfb1f86131fc5ab93dcbf71a13
parentf140da1dfad481b66e439424acf79402883bab7f
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