From 056952ef14bdc542e0ebfef48aa09f126754d3aa Mon Sep 17 00:00:00 2001 From: Jon Murphy Date: Tue, 5 Sep 2023 10:44:09 -0600 Subject: treewide: Adopt TCG standard naming Adopt TCG standard naming and definitions for TPM Return codes. BUG=b:296439237 TEST=Build and boot to OS on skyrim BRANCH=None Change-Id: I60755723262ec205a4c134948b0250aac4974d35 Signed-off-by: Jon Murphy Reviewed-on: https://review.coreboot.org/c/coreboot/+/77665 Reviewed-by: Julius Werner Tested-by: build bot (Jenkins) --- src/mainboard/facebook/fbg1701/romstage.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/facebook/fbg1701/romstage.c b/src/mainboard/facebook/fbg1701/romstage.c index 19cf867e79..c3d817b73b 100644 --- a/src/mainboard/facebook/fbg1701/romstage.c +++ b/src/mainboard/facebook/fbg1701/romstage.c @@ -63,8 +63,8 @@ void mainboard_after_memory_init(void) * * @param[in] activePcr bitmap of the support * - * @retval TPM_SUCCESS Operation completed successfully. - * @retval TPM_E_IOERROR Unexpected device behavior. + * @retval TPM_SUCCESS Operation completed successfully. + * @retval TPM_IOERROR Unexpected device behavior. */ static const uint8_t crtm_version[] = @@ -73,7 +73,7 @@ static const uint8_t crtm_version[] = int mb_crtm(void) { - int rc = TPM_E_IOERROR; + int rc = TPM_IOERROR; TCG_PCR_EVENT2_HDR tcgEventHdr; /* Use FirmwareVersion string to represent CRTM version. */ -- cgit v1.2.3