coreboot/src/drivers
Reka Norman f08e3bb516 drivers/tpm: Force enable long IRQ pulses for Ti50 versions under 0.15.
Only Cr50 versions starting at 0.5.5 support long IRQ pulses, so this
feature is enabled based on the value of the board_cfg register (see
CB:61722).

However, Ti50 versions below 0.0.15 don't support the board_cfg
register, and trying to access it will cause I2C errors (see CB:63011).
Also, all Ti50 versions only support long IRQ pulses. Therefore, add a
workaround to force enable long IRQ pulses for boards using Ti50
versions under 0.0.15, instead of enabling it based on board_cfg. This
workaround will be removed once all Ti50 stocks are updated to 0.0.15 or
higher.

BUG=b:225941781
TEST=Boot nivviks and nereid to OS with Ti50 0.0.14 and check there are
none of these I2C errors:
[ERROR]  I2C stop bit not received
[ERROR]  cr50_i2c_read: Address write failed
[ERROR]  cr50_i2c_tis_status: Failed to read status

Change-Id: Iaba71461d8ec79e8d6efddbd505339cdf1176485
Signed-off-by: Reka Norman <rekanorman@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63160
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Kangheui Won <khwon@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2022-03-30 13:40:30 +00:00
..
acpi/thermal_zone drivers/acpi: Add a chip driver to generate thermal zone 2021-05-20 08:01:11 +00:00
amd timestamps: Rename timestamps to make names more consistent 2022-03-08 16:06:33 +00:00
ams include/bcd: move bcd code to commonlib/bsd/include 2021-08-23 14:08:47 +00:00
analogix/anx7625 treewide: Remove "ERROR: "/"WARN: " prefixes from log messages 2022-02-07 23:29:09 +00:00
asmedia src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
aspeed src: Make PCI ID define names shorter 2022-03-07 08:32:09 +00:00
broadcom src: Make PCI ID define names shorter 2022-03-07 08:32:09 +00:00
camera drivers/camera: Add config CHROMEOS_CAMERA 2020-10-19 06:50:20 +00:00
crb src/acpi to src/lib: Fix spelling errors 2021-10-05 18:06:39 +00:00
elog drivers/elog/elog: Add timestamps to elog_init 2021-11-08 14:46:40 +00:00
emulation/qemu drivers/emulation/qemu: Add missing include for MMIO 2021-10-17 11:48:13 +00:00
generic src: Make PCI ID define names shorter 2022-03-07 08:32:09 +00:00
genesyslogic drivers/genesyslogic/gl9763e: Add set L1 entry delay to Max for GL9763E 2022-03-22 03:45:30 +00:00
gfx/generic drivers/gfx/generic: Add optional _HID for gfx devices 2021-12-01 22:04:12 +00:00
i2c drivers/i2c/tpm: Work around missing board_cfg in Ti50 FW under 0.15 2022-03-25 15:58:19 +00:00
intel src: Remove unused <bootmode.h> 2022-03-27 15:31:07 +00:00
ipmi Use the fallthrough statement in switch loops 2022-02-16 21:29:53 +00:00
lenovo src: Retype option API to use unsigned integers 2021-05-06 14:48:15 +00:00
maxim drivers/maxim/max77686/max77686.h: Remove repeated word 2021-01-18 07:39:21 +00:00
mipi commonlib/bsd: Remove cb_err_t 2022-03-09 02:18:21 +00:00
mrc_cache drivers/mrc_cache/mrc_cache.c: Change loglevels 2022-02-23 15:05:12 +00:00
net drivers/net/r8168: Add support for Realtek RTL8111K 2022-03-24 15:47:37 +00:00
ocp/dmi cpu/x86/mp_init: use cb_err as status return type in remaining functions 2021-10-22 01:26:30 +00:00
parade commonlib/bsd: Remove cb_err_t 2022-03-09 02:18:21 +00:00
pc80 drivers/pc80/tpm/tis.c: Use fixed TPM ACPI path 2022-03-23 14:58:52 +00:00
pcie drivers/pcie/generic: Add support to generate code under companion device instead 2022-03-10 23:57:16 +00:00
ricoh/rce822 src: Make PCI ID define names shorter 2022-03-07 08:32:09 +00:00
secunet/dmi treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
siemens/nc_fpga src: Make PCI ID define names shorter 2022-03-07 08:32:09 +00:00
sil/3114 treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
smmstore drivers/smmstore/store.c: Add fmap_config.h dependency 2022-02-14 16:13:41 +00:00
soundwire device/mipi: Move to drivers/mipi 2021-08-26 15:18:45 +00:00
spi {drivers/security}: Replace cb_err_t with enum cb_err 2022-03-09 08:40:43 +00:00
ti commonlib/bsd: Remove cb_err_t 2022-03-09 02:18:21 +00:00
tpm drivers/tpm: Force enable long IRQ pulses for Ti50 versions under 0.15. 2022-03-30 13:40:30 +00:00
uart drivers/uart/uart8250reg.h: use shifts in constants 2022-02-07 14:05:05 +00:00
usb src: Make PCI ID define names shorter 2022-03-07 08:32:09 +00:00
vpd timestamps: Rename timestamps to make names more consistent 2022-03-08 16:06:33 +00:00
wifi/generic driver/wifi: Add _DSM method for DDRRFIM 2022-03-24 07:17:08 +00:00
wwan/fm drivers/wwan/fm: Include option to add ACPI _DSD for DmaProperty 2022-03-07 17:48:44 +00:00