soc/intel/common: Implement TBT firmware authentication validity check
commit3748170476327b45e1a5ea8ef4fef124c8a80de8
authorJohn Zhao <john.zhao@intel.com>
Wed, 19 May 2021 22:04:53 +0000 (19 15:04 -0700)
committerTim Wawrzynczak <twawrzynczak@chromium.org>
Wed, 26 May 2021 15:43:21 +0000 (26 15:43 +0000)
treee148f33f874776869ba007a55e0ebad978fa9195
parent81547a7d051a3d571d831725aa66b8060610ce33
soc/intel/common: Implement TBT firmware authentication validity check

After Thunderbolt firmware is downloaded to IMR, its authentication
validity needs to be checked. This change implements the valid_tbt_auth
function. Thunderbolt DSD and its corresponding IMR_VAID will be
present to kernel only if its authentication is successful.

BUG=b:188695995
TEST=Validated TGL TBT firmware authentication and its IMR_VALID
into SSDT which is properly present to kernel.

Signed-off-by: John Zhao <john.zhao@intel.com>
Change-Id: I3c9dda341ae6f19a2a8c85f92edda3dfa08c917a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/54693
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
src/soc/intel/common/block/usb4/usb4.c