Sean Rhodes has submitted this change. ( https://review.coreboot.org/c/coreboot/+/86369?usp=email )
Change subject: drivers/crb: Always generate TPM ACPI Tables ......................................................................
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 sean@starlabs.systems Reviewed-on: https://review.coreboot.org/c/coreboot/+/86369 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Matt DeVillier matt.devillier@gmail.com --- M src/drivers/crb/tis.c 1 file changed, 0 insertions(+), 5 deletions(-)
Approvals: build bot (Jenkins): Verified Matt DeVillier: Looks good to me, approved
diff --git a/src/drivers/crb/tis.c b/src/drivers/crb/tis.c index 0222f6d..b51a04f 100644 --- a/src/drivers/crb/tis.c +++ b/src/drivers/crb/tis.c @@ -210,11 +210,6 @@
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