coreboot-kgpe-d16/src/drivers
Vadim Bendebury 731ef9b7ad tpm2: handle failures more gracefully
When trying to bring up a device with a malfunctioning TPM2 chip, the
driver currently gets stuck waiting for SPI flow control, causing
bricked devices.

This patch puts a 100 ms cap on the waiting time - this should be
enough even for a longest NVRAM save operation which could be under
way on the TPM device.

BRANCH=gru
BUG=chrome-os-partner:59807
TEST=with a matching change in depthcharge, now a gru with corrupted
     SPI TPM comes up to the recovery screen (it was not showing signs
     of life before this change).

Change-Id: I63ef5dde8dddd9afeae91e396c157a1a37d47c80
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://review.coreboot.org/17898
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins)
2016-12-16 16:13:22 +01:00
..
ams drivers/ams: Set default values in Kconfig 2015-11-22 01:39:44 +01:00
aspeed Remove extra newlines from the end of all coreboot files. 2016-07-31 18:19:33 +02:00
ati/ragexl src/drivers: Add required space before opening parenthesis '(' 2016-08-31 20:12:07 +02:00
dec/21143 kbuild: Allow drivers to fit src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:18 +02:00
elog drivers/elog: use region_device for NV storage 2016-08-19 18:18:08 +02:00
emulation/qemu drivers/emulation: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:37:08 +02:00
generic x86/acpi_device: Add support for GPIO output polarity 2016-10-07 18:05:30 +02:00
gic arm64: Remove cpu intialization through device-tree 2015-11-07 03:29:35 +01:00
i2c drivers/i2c/hid: Add generic I2C HID driver 2016-12-16 01:38:26 +01:00
ics/954309 drivers/ics: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:36:43 +02:00
intel soc/intel/common: remove mrc cache assumptions 2016-12-15 07:51:35 +01:00
ipmi src/drivers: Add required space before opening parenthesis '(' 2016-08-31 20:12:07 +02:00
lenovo Remove extra newlines from the end of all coreboot files. 2016-07-31 18:19:33 +02:00
maxim drivers/aspeed: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:36:17 +02:00
net drivers/r8168: Read default MAC address from CBFS 2016-12-08 12:40:46 +01:00
parade parade/ps8640: disable mipi mcs 2016-08-31 19:59:29 +02:00
pc80 pc80: Move set_boot_successful() 2016-12-13 19:15:22 +01:00
ricoh/rce822 buildsystem: Drop explicit (k)config.h includes 2016-12-08 19:46:53 +01:00
siemens/nc_fpga siemens/nc_fpga: Add driver for Siemens NC FPGA 2016-07-06 22:38:58 +02:00
sil/3114 drivers/sil: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:36:05 +02:00
spi tpm2: handle failures more gracefully 2016-12-16 16:13:22 +01:00
ti drivers/ti: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:36 +02:00
uart Kconfig: Prefix hex defaults with 0x 2016-09-30 23:57:02 +02:00
usb drivers/usb: Add option for baudrate of FT232H UART 2016-11-21 15:04:35 +01:00
xgi Add newlines at the end of all coreboot files 2016-08-01 21:43:56 +02:00
xpowers/axp209 Remove non-ascii & unprintable characters 2016-08-01 21:44:45 +02:00