summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/brya/bootblock.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/bootblock.c b/src/mainboard/google/brya/bootblock.c
index c24e9590e2..0d0662bb8c 100644
--- a/src/mainboard/google/brya/bootblock.c
+++ b/src/mainboard/google/brya/bootblock.c
@@ -2,6 +2,7 @@
#include <baseboard/variants.h>
#include <bootblock_common.h>
+#include <security/tpm/tss.h>
void bootblock_mainboard_early_init(void)
{
@@ -9,6 +10,10 @@ void bootblock_mainboard_early_init(void)
size_t num;
pads = variant_early_gpio_table(&num);
gpio_configure_pads(pads, num);
+
+ /* Init TPM in non-vboot case so ready in early ramstage before i2c init */
+ if (!CONFIG(VBOOT))
+ tlcl_lib_init();
}
void bootblock_mainboard_init(void)