diff options
author | Bill Richardson <wfrichar@chromium.org> | 2016-09-08 18:49:15 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-09-09 17:15:40 -0700 |
commit | e3e330d165f6433f4694ced8851279454d9d193d (patch) | |
tree | 0728d7fc436e28896337abb537385a08a5b2a560 /include | |
parent | eb10d4518b0e37c483fbc0ec4915df47dee10f45 (diff) | |
download | chrome-ec-e3e330d165f6433f4694ced8851279454d9d193d.tar.gz |
Cr50: Cleanup TPM debug messages
This changes how tpm_register_put() debug messages are displayed
to show only the bytes that are sent instead of some
uninitialized bytes as well.
BUG=none
BRANCH=none
TEST=make buildall; run on Cr50 hardware
On the console, run
chan -1
to enable displaying the debug output.
Before this CL, you'd see messages like this:
tpm_register_put(0x024, 21 180)
tpm_register_put(0x024, 1 17f)
tpm_register_put(0x018, 1 120)
tpm_register_put(0x018, 1 140)
Afterwards, you'd see accurate messages:
tpm_register_put(0x024, 21, 80 01 00 00 ...)
tpm_register_put(0x024, 1, 01)
tpm_register_put(0x018, 1, 20)
tpm_register_put(0x018, 1, 40)
Change-Id: Iad798804a4b6060e9bfafad50c90138eb1144c8f
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/382664
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions