summaryrefslogtreecommitdiff
path: root/src/mainboard/google/kahlee/bootblock
diff options
context:
space:
mode:
authorMarc Jones <marcj303@gmail.com>2017-04-20 16:51:10 -0600
committerMartin Roth <martinroth@google.com>2017-07-31 17:18:49 +0000
commit583806a79d36a2aff5cb6069150ebe173130b00e (patch)
tree974ae1c1293aaf509e51b39eeb368c77432690ad /src/mainboard/google/kahlee/bootblock
parent42e20643700aee9039a605e98e4a1339ab42619c (diff)
downloadcoreboot-583806a79d36a2aff5cb6069150ebe173130b00e.tar.xz
google/kahlee: Enable TPM
Set up the TPM decode to SPI prior to verstage. Enable LPC TPM and remove the mock data. Note, Kahlee TPM is on SPI, but decoded by the LPC block. BRANCH=none BUG=b:62103024 TEST=coreboot and Depthcharge reports TPM found. Change-Id: Iab92259ebeaa40937309fad05cc45d9ca6d41357 Signed-off-by: Marc Jones <marcj303@gmail.com> Reviewed-on: https://review.coreboot.org/19848 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/google/kahlee/bootblock')
-rw-r--r--src/mainboard/google/kahlee/bootblock/bootblock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/kahlee/bootblock/bootblock.c b/src/mainboard/google/kahlee/bootblock/bootblock.c
index a6161e4eba..caa24d5254 100644
--- a/src/mainboard/google/kahlee/bootblock/bootblock.c
+++ b/src/mainboard/google/kahlee/bootblock/bootblock.c
@@ -15,9 +15,13 @@
#include <bootblock_common.h>
#include <ec.h>
+#include <soc/hudson.h>
void bootblock_mainboard_init(void)
{
/* Enable the EC as soon as we have visibility */
mainboard_ec_init();
+
+ /* Setup TPM decode before verstage */
+ hudson_tpm_decode_spi();
}