lib: tpm: Add command to list resources
authormario.six@gdsys.cc <mario.six@gdsys.cc>
Mon, 20 Mar 2017 09:28:30 +0000 (10:28 +0100)
committerSimon Glass <sjg@chromium.org>
Sun, 26 Mar 2017 19:22:58 +0000 (13:22 -0600)
commit3d1df0e363ff13b7aed17f9bb576d045f26c3f74
treea0c33be9295408f3645f171a873e48c31ecebffb
parent1c08b210a8a7b20edc6620b62a5b9f886fff9eb7
lib: tpm: Add command to list resources

It is sometimes convenient to know how many and/or which resources are
currently loaded into a TPG, e.g. to test is a flush operation succeeded.

Hence, we add a command that lists the resources of a given type currently
loaded into the TPM.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/tpm.c
drivers/tpm/Kconfig