drivers/crb: Always generate TPM ACPI Tables

Commit `fb2c09d516` 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 `d503ce1277` 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>
This commit is contained in:
Sean Rhodes 2025-02-11 20:40:28 +00:00
commit bf649fb150

View file

@ -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