Files
OpenCellular/board
Vadim Bendebury f2c33b73b2 cr50: provide platform API for fw version capability
The tpm is supposed to report its firmware version when
TPM_PT_FIRMWARE_VERSION_1 and TPM_PT_FIRMWARE_VERSION_2 capabilities
are requested.

This patch retrieves form the build info string SHA1s of the ec and
tpm2 repositories and returns them to the caller.

BRANCH=none
BUG=chrome-os-partner:58177
TEST=with the appropriate tpm2 source tree changes the ec and tpm
      SHA1s are now reported:

    localhost ~ # tpm_version
    TPM 2.0 Version Info:
    Chip Version:        2.0.0.0
    ....
    Firmware Version:    0a92ec7c01b9c924

    (the first half is the zero prepended 7 characters of the ec SHA1,
    and the second half is the zero prepended 7 characters of the tpm2
    SHA1).

Change-Id: I01e4fffdafbbdc4668342ea511ca9c4a555e20a9
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/403115
Reviewed-by: Andrey Pronin <apronin@chromium.org>
2016-10-26 19:59:15 -07:00
..
2016-07-19 16:31:58 -07:00
2016-10-26 14:22:54 -07:00
2016-10-19 02:45:36 -07:00
2016-09-02 21:17:22 -07:00
2016-05-04 16:15:02 -07:00
2014-04-02 19:58:53 +00:00