summaryrefslogtreecommitdiff
path: root/common/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-08-22 18:31:42 -0600
committerSimon Glass <sjg@chromium.org>2015-08-31 07:57:29 -0600
commite76cb9272d3b9ca7a6d4581dd1cff12480289710 (patch)
tree2a2d7ea0c21e9c52647f9369b906744e7b2ddaf2 /common/Kconfig
parent2132f971ba2443bc31046cbbf18bbf5e7c017b50 (diff)
downloadu-boot-e76cb9272d3b9ca7a6d4581dd1cff12480289710.tar.gz
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>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index bacc4e01cd..2c42b8e4d0 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -635,6 +635,16 @@ config CMD_TPM
command requires a suitable TPM on your board and the correct driver
must be enabled.
+config CMD_TPM_TEST
+ bool "Enable the 'tpm test' command"
+ depends on CMD_TPM
+ help
+ This provides a a series of tests to confirm that the TPM is working
+ correctly. The tests cover initialisation, non-volatile RAM, extend,
+ global lock and checking that timing is within expectations. The
+ tests pass correctly on Infineon TPMs but may need to be adjusted
+ for other devices.
+
endmenu
endmenu