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, 1 Jul 2016 03:13:44 +0000 (20:13 -0700)
commit14fc5de59db195bbf5069dab1edb0dc9e4b8282a
treeda5be8ca3d5c46099b9fd15911a1048a54f3f851
parentd58004a9906e33213bd9dfa9de03fa5899aa8dd3
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.

CQ-DEPEND=CL:356595
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 boots properly too.

Change-Id: Iedd70bde1f933046de86628844d531e7721dbe79
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/356594
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
src/board/gru/board.c