dm: tpm: Add a 'tpmtest' command
authorSimon Glass <sjg@chromium.org>
Sun, 23 Aug 2015 00:31:42 +0000 (18:31 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 31 Aug 2015 13:57:29 +0000 (07:57 -0600)
commite76cb9272d3b9ca7a6d4581dd1cff12480289710
tree2a2d7ea0c21e9c52647f9369b906744e7b2ddaf2
parent2132f971ba2443bc31046cbbf18bbf5e7c017b50
dm: tpm: Add a 'tpmtest' command

These tests come from Chrome OS code. They are not particularly tidy but can
be useful for checking that the TPM is behaving correctly. Some knowledge of
TPM operation is required to use these.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Christophe Ricard<christophe-h.ricard@st.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
common/Kconfig
common/Makefile
common/cmd_tpm_test.c [new file with mode: 0644]