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

Miquel Raynal miquel.raynal at bootlin.com
Sat Apr 28 12:27:15 UTC 2018


Hi Simon,

On Fri, 30 Mar 2018 06:42:10 +0800, Simon Glass <sjg at chromium.org>
wrote:

> 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

Ok, I used log() instead of debug().

Thanks,
Miquèl

> 
> - Simon



-- 
Miquel Raynal, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the U-Boot mailing list