tpm: Add a 'tpm info' command
authorSimon Glass <sjg@chromium.org>
Sun, 23 Aug 2015 00:31:40 +0000 (18:31 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 31 Aug 2015 13:57:29 +0000 (07:57 -0600)
commitad77694e23be841feeb91e8173d4d3d4e8ef2bf0
treed6e32ccd18f76376d08e34bf4bd5816b208e9ca4
parentd616ba5f5b2a119b597b9974e2bb62e25c933fc8
tpm: Add a 'tpm info' command

Add a command to display basic information about a TPM such as the model and
open/close state. This can be useful for debugging.

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/cmd_tpm.c