Jon Murphy has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/74286 )
Change subject: mb/google/myst: Enable tis_plat_irq_status ......................................................................
mb/google/myst: Enable tis_plat_irq_status
This will fix:
[INFO ] Probing TPM I2C: tis_plat_irq_status() not implemented, wasting 20ms to wait on Cr50!
BUG=b:277297687 TEST=builds
Change-Id: I611a2855d94167748d0f82a478687fe2cdf5846a --- M src/mainboard/google/myst/variants/baseboard/Makefile.inc A src/mainboard/google/myst/variants/baseboard/tpm_tis.c 2 files changed, 28 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/86/74286/1
diff --git a/src/mainboard/google/myst/variants/baseboard/Makefile.inc b/src/mainboard/google/myst/variants/baseboard/Makefile.inc index 40a41df..ffa462a 100644 --- a/src/mainboard/google/myst/variants/baseboard/Makefile.inc +++ b/src/mainboard/google/myst/variants/baseboard/Makefile.inc @@ -1,7 +1,11 @@ bootblock-y += gpio.c
ramstage-y += gpio.c +ramstage-y += tpm_tis.c
romstage-y += gpio.c +romstage-y += tpm_tis.c + +verstage-y += tpm_tis.c
smm-y += smihandler.c diff --git a/src/mainboard/google/myst/variants/baseboard/tpm_tis.c b/src/mainboard/google/myst/variants/baseboard/tpm_tis.c new file mode 100644 index 0000000..42accfa --- /dev/null +++ b/src/mainboard/google/myst/variants/baseboard/tpm_tis.c @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#include <security/tpm/tis.h> +#include <soc/gpio.h> + +int tis_plat_irq_status(void) +{ + return gpio_interrupt_status(GPIO_84); +}