coreboot/src
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
..
acpi ec/google/chromeec: Add retimer handle to Type C conn 2022-05-04 13:15:30 +00:00
arch arch/x86: Add a common romstage entry 2022-06-07 12:54:39 +00:00
commonlib commonlib: Clean up compiler.h 2022-06-07 12:34:35 +00:00
console console: Make CONSOLE_SPI_FLASH depend on BOOT_DEVICE_SPI_FLASH 2022-04-27 06:55:47 +00:00
cpu arch/x86: Add a common romstage entry 2022-06-07 12:54:39 +00:00
device dev/i2c_bus: Add declaration, implementation of i2c_dev_detect() 2022-05-31 13:43:39 +00:00
drivers drivers/tpm/cr50: Add TPM IRQ timeout Kconfig option 2022-06-08 00:28:27 +00:00
ec ec/google/chromeec/acpi: Replace LGreater(a,b) with ASL 2.0 syntax 2022-06-03 15:29:36 +00:00
include arch/x86: Add a common romstage entry 2022-06-07 12:54:39 +00:00
lib Replace some ENV_ROMSTAGE with ENV_RAMINIT 2022-06-07 12:53:19 +00:00
mainboard mb/google/nissa/var/craask: Add MIPI camera settings 2022-06-07 23:44:16 +00:00
northbridge drivers/amd/agesa: Don't save regular boot MTRR to flash 2022-06-06 08:57:09 +00:00
security drivers/tpm/cr50: Add TPM IRQ timeout Kconfig option 2022-06-08 00:28:27 +00:00
soc arch/x86: Add a common romstage entry 2022-06-07 12:54:39 +00:00
southbridge Replace some ENV_ROMSTAGE with ENV_RAMINIT 2022-06-07 12:53:19 +00:00
superio superio/nuvoton/nct6687d: Add early support for NCT6687D 2022-05-16 13:11:00 +00:00
vendorcode Replace some ENV_ROMSTAGE with ENV_RAMINIT 2022-06-07 12:53:19 +00:00
Kconfig src/Kconfig: Fix a spelling issue 2022-05-30 04:25:20 +00:00