diff options
author | Chris Engel <cjengel@us.ibm.com> | 2017-01-23 14:00:25 -0600 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2017-01-27 16:41:57 -0500 |
commit | 5784da25300866c71551f1f0411d469eb3a3c922 (patch) | |
tree | 5916d1a64353257d72ac19371581aadad9f96bb3 /src/include/usr/devicefw/userif.H | |
parent | 0446c85a500a07e1e81fe49cf91af207b88a753f (diff) | |
download | talos-hostboot-5784da25300866c71551f1f0411d469eb3a3c922.tar.gz talos-hostboot-5784da25300866c71551f1f0411d469eb3a3c922.zip |
Add TPM4 locality support
Change-Id: I9f16fe77ee18f3d8839d0a06f9322ca1b1e47d93
RTC: 134415
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35271
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com>
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Reviewed-by: Timothy R. Block <block@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include/usr/devicefw/userif.H')
-rw-r--r-- | src/include/usr/devicefw/userif.H | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/include/usr/devicefw/userif.H b/src/include/usr/devicefw/userif.H index 50a6aa2e9..5f42ff8f4 100644 --- a/src/include/usr/devicefw/userif.H +++ b/src/include/usr/devicefw/userif.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2016 */ +/* Contributors Listed Below - COPYRIGHT 2011,2017 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -326,11 +326,14 @@ namespace DeviceFW * tpm_op_types_t in tpmddif.H * @param[in] i_command_len Command length to write during transmit * operations + * @param[in] i_locality The TPM locality to use. See tpm_locality_t + * in tpmddif.H */ - #define DEVICE_TPM_ADDRESS( i_tpm_op, i_command_len )\ + #define DEVICE_TPM_ADDRESS( i_tpm_op, i_command_len, i_locality ) \ DeviceFW::TPM,\ static_cast<uint64_t>(( i_tpm_op )),\ - static_cast<uint64_t>(( i_command_len )) + static_cast<uint64_t>(( i_command_len )),\ + static_cast<uint64_t>(( i_locality )) /** * Construct the device addressing parameters for the GPIO port extender ops |