dm: tpm: Add a 'tpmtest' command
authorSimon Glass <sjg@chromium.org>
Sun, 23 Aug 2015 00:31:42 +0000 (18:31 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 10:19:18 +0000 (12:19 +0200)
commit35b89b58a20792a2329f95f69c4fa0c16d1a0c20
tree14d8a295c562cecca951141acee8c625fb99dea4
parent5cacbd752fcc05e93773c329ce2f1ad9e237c0d9
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]