[U-Boot] [PATCH v2 07/19] tpm: add possible traces to analyze buffers returned by the TPM

Simon Glass sjg at chromium.org
Thu Mar 29 22:42:10 UTC 2018


On 29 March 2018 at 15:43, Miquel Raynal <miquel.raynal at bootlin.com> wrote:
> 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 at bootlin.com>
> ---
>  lib/tpm.c | 12 +++++++++++-
>  1 file changed, 11 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

You might consider using the new logging support for this? See log.h

- Simon


More information about the U-Boot mailing list