From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miquel Raynal Date: Sat, 28 Apr 2018 14:27:15 +0200 Subject: [U-Boot] [PATCH v2 07/19] tpm: add possible traces to analyze buffers returned by the TPM In-Reply-To: References: <20180329074401.8691-1-miquel.raynal@bootlin.com> <20180329074401.8691-8-miquel.raynal@bootlin.com> Message-ID: <20180428142715.4f62e2ff@xps13> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de Hi Simon, On Fri, 30 Mar 2018 06:42:10 +0800, Simon Glass wrote: > On 29 March 2018 at 15:43, Miquel Raynal wrot= e: > > 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 > > --- > > lib/tpm.c | 12 +++++++++++- > > 1 file changed, 11 insertions(+), 1 deletion(-) =20 >=20 > Reviewed-by: Simon Glass >=20 > You might consider using the new logging support for this? See log.h Ok, I used log() instead of debug(). Thanks, Miqu=C3=A8l >=20 > - Simon --=20 Miquel Raynal, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com