coreboot-kgpe-d16/src
Bill XIE a4bf0b7cd1 drivers/pc80/tpm: Add some optional delay to tis_readresponse()
Certain TPMs (observed on Infineon SLB9635 installed on revolve 810 g1)
seem to need some delay between tis_wait_valid() and
tis_has_valid_data(), or tis_has_valid_data() may invalidly return 0,
ending the loop immaturely with some bytes left unread, and fail to
pass the check below, causing the current command not finalized by
tis_command_ready(), and blocking any later tis_wait_ready().

This time the added delay is controlled by a Kconfig option
TPM_RDRESP_NEED_DELAY.

Change-Id: Ic2a2f252e72a0bbce51e2863f8e46647b1570ba5
Signed-off-by: Bill XIE <persmule@gmail.com>
Reviewed-on: https://review.coreboot.org/25322
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-04-16 15:47:53 +00:00
..
acpi arch/x86: Add common AMD ACPI hardware definitions 2017-11-10 19:15:38 +00:00
arch include/memory_info.h: Change serial number field from 5 bytes to 4 2018-04-12 15:21:45 +00:00
commonlib timestamps: Add timestamps around the vbios load & init 2018-03-08 18:14:54 +00:00
console console: Expose vsnprintf 2018-04-09 08:18:16 +00:00
cpu Revert "model_206ax: Use parallel MP init" 2018-04-11 11:49:05 +00:00
device device/dram/ddr3: improve XMP support 2018-04-16 08:46:23 +00:00
drivers drivers/pc80/tpm: Add some optional delay to tis_readresponse() 2018-04-16 15:47:53 +00:00
ec chromeec: fix an uninitialized local variable 2018-04-01 19:50:30 +00:00
include device/dram/ddr3: improve XMP support 2018-04-16 08:46:23 +00:00
lib lib/bootmem: tightly couple bootmem_init to bootmem_write_memory_table 2018-04-16 08:39:21 +00:00
mainboard mb/google/octopus: Add Write Protect GPIO to cros_gpios 2018-04-16 08:47:14 +00:00
northbridge nb/intel/i945/gma: Log native graphics init in level INFO 2018-04-16 08:48:36 +00:00
security vboot: Add support for reading GBB flags 2018-04-09 09:27:50 +00:00
soc soc/amd/stoneyridge/northbridge.c: Fix bit definitions 2018-04-16 08:44:50 +00:00
southbridge Revert "model_206ax: Use parallel MP init" 2018-04-11 11:49:05 +00:00
superio Intel i3100 boards & chips: Remove - using LATE_CBMEM_INIT 2018-01-15 23:25:12 +00:00
vendorcode vendorcode/amd/pi/00670F00: Remove unused headers 2018-04-16 08:35:05 +00:00
Kconfig Timestamps: Add option to print timestamps to debug console 2018-03-09 17:16:21 +00:00