From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Fri, 30 Mar 2018 06:42:10 +0800 Subject: [U-Boot] [PATCH v2 07/19] tpm: add possible traces to analyze buffers returned by the TPM In-Reply-To: <20180329074401.8691-8-miquel.raynal@bootlin.com> References: <20180329074401.8691-1-miquel.raynal@bootlin.com> <20180329074401.8691-8-miquel.raynal@bootlin.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 29 March 2018 at 15:43, Miquel Raynal 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 > --- > lib/tpm.c | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) Reviewed-by: Simon Glass You might consider using the new logging support for this? See log.h - Simon