diff options
author | John <john.zhao@intel.com> | 2022-03-09 17:51:56 -0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-04-06 16:19:18 +0000 |
commit | 848b42558c29aca8e08564303f9a3ab8007722ac (patch) | |
tree | 51757aabc8ebddd194ec1f18807907f315751fe4 /src/soc/intel/common/block/usb4 | |
parent | 740eee5eec2a978192e8b74327cb96b735b7d0ed (diff) |
soc/intel/common: Abstract the common TCSS functions
This change abstracts the common TCSS functions for pad configuration
and Thunderbolt authentication.
BUG=b:213574324
TEST=Build platforms coreboot images successfully.
Change-Id: I3302aabfb5f540c41da6359f11376b4202c6310b
Signed-off-by: John Zhao <john.zhao@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62723
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/soc/intel/common/block/usb4')
-rw-r--r-- | src/soc/intel/common/block/usb4/usb4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/usb4/usb4.c b/src/soc/intel/common/block/usb4/usb4.c index 6924bb70df..86bd09bb9d 100644 --- a/src/soc/intel/common/block/usb4/usb4.c +++ b/src/soc/intel/common/block/usb4/usb4.c @@ -29,7 +29,7 @@ static void tbt_dma_fill_ssdt(const struct device *dev) { struct acpi_dp *dsd, *pkg; - if (!tcss_valid_tbt_auth()) + if (tcss_ops.valid_tbt_auth && !tcss_ops.valid_tbt_auth()) return; acpigen_write_scope(acpi_device_path(dev)); |