From 4ee03170e058313477b8f0bbfc81d093a6197d98 Mon Sep 17 00:00:00 2001 From: Sergii Dmytruk Date: Thu, 22 Dec 2022 19:35:25 +0200 Subject: Revert "security/tpm/: turn tis_{init,open} into tis_probe" This reverts commit d43154486d27323f64334203e9bc8baf08af6845. From CB:68991: This causes CraterLake boot up process to die. Investigation in progress. Change-Id: I4a6c11b0e638a891108fe230bdaea92d5fbca020 Signed-off-by: Sergii Dmytruk Reviewed-on: https://review.coreboot.org/c/coreboot/+/71205 Tested-by: build bot (Jenkins) Reviewed-by: Werner Zeh Tested-by: siemens-bot Reviewed-by: Felix Held --- src/drivers/i2c/tpm/cr50.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/drivers/i2c/tpm/cr50.c') diff --git a/src/drivers/i2c/tpm/cr50.c b/src/drivers/i2c/tpm/cr50.c index 593f201e68..d9088233c2 100644 --- a/src/drivers/i2c/tpm/cr50.c +++ b/src/drivers/i2c/tpm/cr50.c @@ -484,6 +484,7 @@ int tpm_vendor_init(struct tpm_chip *chip, unsigned int bus, uint32_t dev_addr) cr50_set_board_cfg(); } + chip->is_open = 1; return 0; } -- cgit v1.2.3