tpm: add possible traces to analyze buffers returned by the TPM
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 15 May 2018 09:57:10 +0000 (11:57 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 26 May 2018 00:12:56 +0000 (20:12 -0400)
commitaa643013e47b3527b819d1bbdfd1eb679daf5f27
tree750129d3622a2609278b4a8d532a4a2ea661caf2
parentf6872816ce07b6b26c9b6a4b1ba9206805d9321d
tpm: add possible traces to analyze buffers returned by the TPM

When debugging, it is welcome to get more information about what the TPM
returns. Add the possibility to print the packets received to show their
exact content.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
lib/tpm-common.c