coreboot/src/drivers
Vadim Bendebury c7fc199f40 cr50 i2c: add error message reporting TPM IRQ timeout
Various recent x86 SOCs have trouble registering short pulses
generated by the H1 to indicate that it is ready for the next
transaction.

This patch adds an error message to report this condition, which would
greatly reduce the amount of guesswork when troubleshooting new
platforms.

BUG=b:144002424

TEST=tried this code on the Drallion device exhibiting the problem,
     observed error messages in the coreboot log;

  $ grep IRQ ap.log
  Cr50 i2c TPM IRQ timeout!
  Cr50 i2c TPM IRQ timeout!
  Cr50 i2c TPM IRQ timeout!
  Cr50 i2c TPM IRQ timeout!
  ...

Change-Id: I5f6ee3986bed58e12fd0ec8cecbf35f46c9263c2
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37255
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Mathew King <mathewk@chromium.org>
2019-11-27 17:29:31 +00:00
..
amd/agesa AGESA,binaryPI: Remove early_all_cores() 2019-11-27 10:41:39 +00:00
ams AUTHORS: Move src/drivers/[a*-i*] copyrights into AUTHORS file 2019-10-22 12:55:10 +00:00
asmedia AUTHORS: Move src/drivers/[a*-i*] copyrights into AUTHORS file 2019-10-22 12:55:10 +00:00
aspeed AUTHORS: Move src/drivers/[a*-i*] copyrights into AUTHORS file 2019-10-22 12:55:10 +00:00
crb drivers/crb: Replace __RAMSTAGE_ guards 2019-11-21 19:39:05 +00:00
dec/21143 AUTHORS: Move src/drivers/[a*-i*] copyrights into AUTHORS file 2019-10-22 12:55:10 +00:00
elog AUTHORS: Move src/drivers/[a*-i*] copyrights into AUTHORS file 2019-10-22 12:55:10 +00:00
emulation/qemu src/[arch-lib]: change "unsigned" to "unsigned int" 2019-10-27 21:08:39 +00:00
generic src/[arch-lib]: change "unsigned" to "unsigned int" 2019-10-27 21:08:39 +00:00
gic AUTHORS: Move src/drivers/[a*-i*] copyrights into AUTHORS file 2019-10-22 12:55:10 +00:00
i2c cr50 i2c: add error message reporting TPM IRQ timeout 2019-11-27 17:29:31 +00:00
intel soc/intel/{apl,cnl,dnv,skl}: Skip ucode loading by FSP-T 2019-11-26 11:55:10 +00:00
ipmi drivers/ipmi: Add IPMI get system GUID support 2019-11-22 10:43:42 +00:00
lenovo AUTHORS: Move src/drivers/[l*-v*] copyrights into AUTHORS file 2019-10-22 12:55:19 +00:00
maxim AUTHORS: Move src/drivers/[l*-v*] copyrights into AUTHORS file 2019-10-22 12:55:19 +00:00
mrc_cache AUTHORS: Move src/drivers/[l*-v*] copyrights into AUTHORS file 2019-10-22 12:55:19 +00:00
net src/[arch-lib]: change "unsigned" to "unsigned int" 2019-10-27 21:08:39 +00:00
parade src/[arch-lib]: change "unsigned" to "unsigned int" 2019-10-27 21:08:39 +00:00
pc80 drivers/pc80/rtc: Remove CMOS spinlock 2019-11-22 06:24:28 +00:00
ricoh/rce822 AUTHORS: Move src/drivers/[l*-v*] copyrights into AUTHORS file 2019-10-22 12:55:19 +00:00
siemens/nc_fpga AUTHORS: Move src/drivers/[l*-v*] copyrights into AUTHORS file 2019-10-22 12:55:19 +00:00
sil/3114 AUTHORS: Move src/drivers/[l*-v*] copyrights into AUTHORS file 2019-10-22 12:55:19 +00:00
smmstore src/{device,drivers}: Use 'include <stdlib.h>' when appropriate 2019-10-27 17:52:05 +00:00
spi Remove MIPS architecture 2019-11-20 10:10:48 +00:00
ti AUTHORS: Move src/drivers/[l*-v*] copyrights into AUTHORS file 2019-10-22 12:55:19 +00:00
tpm AUTHORS: Move src/drivers/[l*-v*] copyrights into AUTHORS file 2019-10-22 12:55:19 +00:00
uart Kconfig: comply to Linux 5.3's Kconfig language rules 2019-11-23 20:09:56 +00:00
usb arch/x86/car.ld: Rename suffix _start/_end 2019-11-12 18:25:42 +00:00
vpd include: Make stdbool.h a separate file 2019-11-18 22:47:13 +00:00
wifi AUTHORS: Move src/drivers/[l*-v*] copyrights into AUTHORS file 2019-10-22 12:55:19 +00:00
xgi src/[arch-lib]: change "unsigned" to "unsigned int" 2019-10-27 21:08:39 +00:00