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 <jpmurphy@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77666 Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
53fc667943
commit
d7b8dc9cf5
44 changed files with 734 additions and 653 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue