coreboot/src/security/tpm
Yu-Ping Wu ae1e702e7b drivers/tpm/cr50: Add TPM IRQ timeout Kconfig option
The current 10ms timeout for SPI TPM IRQ is not enough for platforms
using ti50 (such as corsola). Therefore, introduce a new Kconfig option
'GOOGLE_TPM_IRQ_TIMEOUT_MS'.

For platforms using cr50, we need to support legacy pre-ready-IRQ cr50
factory images during the initial boot, so the timeout remains 100ms for
I2C TPM and 10ms for SPI TPM. For all the other platforms using ti50,
the default timeout is increased to 750ms, as suggested by the ti50 team
(apronin@google.com).

BUG=b:232327704
TEST=emerge-corsola coreboot
BRANCH=none

Change-Id: I8dbb919e4a421a99a994913613a33738a49f5956
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64412
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2022-06-08 00:28:27 +00:00
..
tspi cbfs: Rename TYPE_FIT to TYPE_FIT_PAYLOAD 2022-06-01 19:45:08 +00:00
tss drivers/tpm/cr50: Add TPM IRQ timeout Kconfig option 2022-06-08 00:28:27 +00:00
Kconfig tpm: Refactor TPM Kconfig dimensions 2022-04-21 23:07:20 +00:00
Makefile.inc tpm: Refactor TPM Kconfig dimensions 2022-04-21 23:07:20 +00:00
tis.h drivers/tpm/cr50: Add TPM IRQ timeout Kconfig option 2022-06-08 00:28:27 +00:00
tspi.h cbfs | tspi: Join hash calculation for verification and measurement 2021-12-03 21:20:35 +00:00
tss.h security/tpm/tss/tcg-2.0: Add tlcl_set_bits() 2021-06-10 23:38:47 +00:00
tss_errors.h security/tpm/tcg-2.0: Handle TPM_RC_NV_RANGE return code 2021-11-17 23:05:11 +00:00