]> git.dujemihanovic.xyz Git - u-boot.git/commit
tpm: Report tpm errors on the command line
authorSimon Glass <sjg@chromium.org>
Sun, 23 Aug 2015 00:31:34 +0000 (18:31 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 31 Aug 2015 13:57:28 +0000 (07:57 -0600)
commitf8f1fe1d5262d1d089bfa5bfdf703d5b2c5e0030
treeadc517e4eb49b8214193a9b69262f05829878879
parentc10c8e313c836eb193f49c6f782a2e5a6e2f21d0
tpm: Report tpm errors on the command line

When a 'tpm' command fails, we set the return code but give no indication
of failure. This can be confusing.

Add an error message when any tpm command fails.

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