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-09 12:33:48 -07:00
2016-09-09 17:15:40 -07:00
2016-09-07 14:01:18 -07:00
2016-09-02 21:17:22 -07:00
2012-05-11 09:11:52 -07:00
2016-07-11 21:27:46 -07:00
2014-04-02 19:58:53 +00:00
2015-12-08 20:05:05 -08:00

For an overview of the Embedded Controller firmware, refer to

http://www.chromium.org/chromium-os/2014-firmware-summit

For instructions on building from source, refer to

http://www.chromium.org/chromium-os/ec-development/getting-started-building-ec-images-quickly
Description
No description provided
Readme 1.4 GiB
Languages
C 64.7%
Lasso 20.7%
ASL 3.6%
JavaScript 3.2%
C# 2.9%
Other 4.6%