]> git.baikalelectronics.ru Git - uboot.git/commit
sandbox: tpm: Track whether the state is valid
authorSimon Glass <sjg@chromium.org>
Sun, 18 Jul 2021 20:18:02 +0000 (14:18 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 1 Aug 2021 15:05:24 +0000 (09:05 -0600)
commit2e861412e188c852e5d5a43689a4a599bbfe0e7d
treed8ce6c503940a76519dc7f17f8ed0a45e49a8532
parentc5e7f309fb96933d0e178fc5c1c8b4c90d49f702
sandbox: tpm: Track whether the state is valid

Add checking as to whether the current TPM state is valid, so we can
implement reading/writing the state.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/tpm/tpm2_tis_sandbox.c