coreboot/src/drivers/tpm
Matt DeVillier 411023af72 drivers/tpm: Move TPM init to end of device init phase
Boards which use an I2C TPM and do not use vboot will not have the
I2C bus initialized/ready at the start of the device init phase.
If TPM init is called before the bus, init will fail with I2C
transfer timeouts and a significantly lengthened boot time.

Resolves: https://ticket.coreboot.org/issues/429

TEST=build/boot google/reef w/o vboot, verify successful TPM init.

Change-Id: Ic47e465db1c06d8b79a1f0a06906843149b6dacd
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68550
Reviewed-by: Alexandru Stan <amstan@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
2022-10-20 17:22:57 +00:00
..
cr50.c drivers/i2c/tpm: Remove TI50_FIRMWARE_VERSION_NOT_SUPPORTED 2022-08-29 04:57:37 +00:00
cr50.h drivers/tpm/cr50: Add TPM IRQ timeout Kconfig option 2022-06-08 00:28:27 +00:00
Kconfig payloads/tianocore: Rename TianoCore to edk2 2022-08-13 16:35:18 +00:00
Makefile.inc tpm: Refactor TPM Kconfig dimensions 2022-04-21 23:07:20 +00:00
ppi.c drivers: Get rid of unnecessary blank lines {before,after} brace 2022-07-17 18:45:23 +00:00
ppi_stub.c drivers: Remove unused <acpi/acpi.h> 2022-04-24 17:41:26 +00:00
tpm.c drivers/tpm: Move TPM init to end of device init phase 2022-10-20 17:22:57 +00:00
tpm_ppi.h