gru: Instantiate SPI TPM driver at startup.
authorVadim Bendebury <vbendeb@chromium.org>
Thu, 23 Jun 2016 02:17:09 +0000 (19:17 -0700)
committerchrome-bot <chrome-bot@chromium.org>
Fri, 24 Jun 2016 09:04:50 +0000 (02:04 -0700)
commitc241485bc7e3f2554d58a58018f51d967cc18a45
tree969e92328ca4443a1d614a9da60028e8408e9c22
parent77de9dec83123a952cd62aac9a3f587eed7086e1
gru: Instantiate SPI TPM driver at startup.

This adds code which creates structures for the SPI interface and the
TPM driver on Gru and Kevin boards.

BRANCH=none
BUG=chrome-os-partner:50645
TEST=with the rest of the patches applied; attempts of vboot_firmware
     to communicate with the TPM trigger proper TPM initialization
     (which indicates that SPI interface is operational and is plugged
     in properly). Chrome OS boot fails because vboot_firmware does not
     speak TPM2 yet.

Change-Id: Ib10f67df772fd53c354ab6323d46ebbfb2a8e700
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/355262
src/board/gru/board.c