aboutsummaryrefslogtreecommitdiff
path: root/cmd/tpm-common.c
diff options
context:
space:
mode:
authorSimon Glass2022-08-30 21:05:35 -0600
committerIlias Apalodimas2022-09-03 16:58:56 +0300
commit6694c997b210656fc3e6ce63ba780bc9bf97c077 (patch)
tree69ce34230fbcb2226bd70d7991a8a22b2600e5cf /cmd/tpm-common.c
parent1c32eee38b3770cf68188a52b4a539a9e0758b84 (diff)
tpm: sandbox: Allow init of TPM in a different phase
At present the emulator assumes that the TPM is inited in the same phase where it is used. But in fact SPL may init the TPM, so we don't want to complain when U-Boot proper later uses it. Remove this check. It might be best to save this information into the device state for the TPM, so that we can make sure the TPM was inited at some point. For now, this seems good enough. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'cmd/tpm-common.c')
0 files changed, 0 insertions, 0 deletions