Tim Wawrzynczak has submitted this change. ( https://review.coreboot.org/c/coreboot/+/54888 )
Change subject: soc/intel/alderlake: Add validity for TBT firmware authentication ......................................................................
soc/intel/alderlake: Add validity for TBT firmware authentication
After Thunderbolt firmware is downloaded to IMR, its authentication validity needs to be checked. This change adds the TBT firmware IMR status register offset and its authentication valid bit for valid_tbt_auth function usage.
BUG=b:188695995 TEST=Built coreboot image successfully.
Signed-off-by: John Zhao john.zhao@intel.com Change-Id: I742a00b6b58c45c1261f06b06a94346ad0a74829 Reviewed-on: https://review.coreboot.org/c/coreboot/+/54888 Reviewed-by: Tim Wawrzynczak twawrzynczak@chromium.org Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/soc/intel/alderlake/include/soc/tcss.h 1 file changed, 4 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Tim Wawrzynczak: Looks good to me, approved
diff --git a/src/soc/intel/alderlake/include/soc/tcss.h b/src/soc/intel/alderlake/include/soc/tcss.h index 713528b..014e307 100644 --- a/src/soc/intel/alderlake/include/soc/tcss.h +++ b/src/soc/intel/alderlake/include/soc/tcss.h @@ -3,6 +3,10 @@ #ifndef _SOC_TCSS_H_ #define _SOC_TCSS_H_
+/* Thunderbolt firmware IMR status */ +#define IOM_CSME_IMR_TBT_STATUS 0x14 +#define TBT_VALID_AUTHENTICATION (1 << 30) + /* IOM aux bias control registers in REGBAR MMIO space */ #define IOM_AUX_BIAS_CTRL_PULLUP_OFFSET_0 0x1070 #define IOM_AUX_BIAS_CTRL_PULLUP_OFFSET(x) (IOM_AUX_BIAS_CTRL_PULLUP_OFFSET_0 + (x) * 4)