]> git.dujemihanovic.xyz Git - u-boot.git/commit
test/py: replace 'tpm2 init, startup, selftest' sequences
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Wed, 7 Jun 2023 09:18:11 +0000 (12:18 +0300)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Tue, 13 Jun 2023 05:51:07 +0000 (08:51 +0300)
commit789ed27842563a7a067ed0c5d2511d0e470b00c8
treef0ad7e27ea6885f8b52fe8da6d34c7df1db3b30a
parente663b2ff4ba2a7f49cb6bb96370f02f0e8a94296
test/py: replace 'tpm2 init, startup, selftest' sequences

Instead of copy pasting the commands needed to start a TPM consisting
of:
- tpm init
- tpm startup TPM2_SU_CLEAR
- tpm2 self_test full
use the newly added 'autostart' which does the same thing and simplify
our python scripts

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
test/py/tests/test_tpm2.py