Files
OpenCellular/common
Bill Richardson e3e330d165 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>
2016-09-09 17:15:40 -07:00
..
2016-09-05 23:22:13 -07:00
2016-09-02 04:23:49 -07:00
2015-05-19 02:46:27 +00:00
2016-02-08 13:47:49 -08:00
2016-04-27 14:04:07 -07:00
2016-09-07 14:01:18 -07:00
2015-09-25 09:13:34 -07:00
2014-01-14 09:19:45 +00:00
2016-03-02 13:39:47 -08:00
2016-06-03 20:14:59 -07:00
2016-09-09 12:33:26 -07:00
2016-07-29 10:51:22 -07:00
2014-05-17 20:14:17 +00:00
2016-05-05 19:16:50 -07:00
2016-03-21 16:35:33 -07:00
2016-08-22 23:27:24 -07:00
2015-09-24 12:46:28 -07:00