From bf649fb150eb21f241d101c5ed1aa87a0826a8ea Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Tue, 11 Feb 2025 20:40:28 +0000 Subject: [PATCH] drivers/crb: Always generate TPM ACPI Tables Commit `fb2c09d5162719a72f0fbc533bec0aa3e8458b93` stopped the SSDT containing TPM tables if PTT was not active, as at the time, the table unconditionally reported the device present in the _STA method. Commit `d503ce1277b968daf9f96bb2215c8ec0e8a17f8a` made the _STA to return an accurate state, so now, the tables can always be generated and Linux will report the presence correctly. Change-Id: I594bf25a207b809c1ae2632eb1aea0d0fb6df35e Signed-off-by: Sean Rhodes Reviewed-on: https://review.coreboot.org/c/coreboot/+/86369 Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier --- src/drivers/crb/tis.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/drivers/crb/tis.c b/src/drivers/crb/tis.c index 0222f6d92d..b51a04f54f 100644 --- a/src/drivers/crb/tis.c +++ b/src/drivers/crb/tis.c @@ -210,11 +210,6 @@ static struct device_operations __maybe_unused crb_ops = { static void enable_dev(struct device *dev) { - if (crb_tis_probe(NULL) == NULL) { - dev->enabled = 0; - return; - } - #if !DEVTREE_EARLY dev->ops = &crb_ops; #endif