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