From d7b8dc9cf5978809912dcffefce2eda5937c9653 Mon Sep 17 00:00:00 2001 From: Jon Murphy Date: Tue, 5 Sep 2023 11:36:43 -0600 Subject: treewide: convert to tpm_result_t Convert TPM functions to return TPM error codes(referred to as tpm_result_t) values to match the TCG standard. BUG=b:296439237 TEST=build and boot to Skyrim BRANCH=None Change-Id: Ifdf9ff6c2a1f9b938dbb04d245799391115eb6b1 Signed-off-by: Jon Murphy Reviewed-on: https://review.coreboot.org/c/coreboot/+/77666 Reviewed-by: Raul Rangel Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) --- src/security/intel/txt/txt_register.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/security/intel/txt') diff --git a/src/security/intel/txt/txt_register.h b/src/security/intel/txt/txt_register.h index 95f2a680d9..a00084511f 100644 --- a/src/security/intel/txt/txt_register.h +++ b/src/security/intel/txt/txt_register.h @@ -109,9 +109,9 @@ * Note: Only locality 0 registers are publicly accessible. */ -#define TPM_BASE 0xfed40000UL +#define TPM_BASE_ADDR 0xfed40000UL -#define TPM_ACCESS_REG (TPM_BASE + 0x00) +#define TPM_ACCESS_REG (TPM_BASE_ADDR + 0x00) /* * TXT Memory regions -- cgit v1.2.3