]> git.dujemihanovic.xyz Git - u-boot.git/commit
tpm: Add debugging of request in tpm_sendrecv_command()
authorSimon Glass <sjg@chromium.org>
Sat, 6 Feb 2021 21:23:34 +0000 (14:23 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 2 Mar 2021 20:53:37 +0000 (15:53 -0500)
commit1a39ab87b7684824de83985726a2bfe535223ef1
tree1468aa394b361fd25ca5d881655296cab342d88f
parentd5cb6687c56892f51be6e15512c7b1cff6ce0f2c
tpm: Add debugging of request in tpm_sendrecv_command()

The response is shown but not the request. Update the code to show both
if debugging is enabled.

Use a 'uint' type for size so it matches the register-word size on both
32- and 64-bit machines.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/tpm-common.c