diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2016-03-18 15:36:10 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-08-04 16:48:00 -0400 |
commit | 7dab57de8c4d61f1cd24a79e2b361496520c1f64 (patch) | |
tree | 878423d6b3eeb88bd6386b0e51526955075f1d24 /src/import/hwpf | |
parent | f6fd3222a3d744cda9c4303f05b5a17ce9eb61ba (diff) | |
download | talos-hostboot-7dab57de8c4d61f1cd24a79e2b361496520c1f64.tar.gz talos-hostboot-7dab57de8c4d61f1cd24a79e2b361496520c1f64.zip |
fapi2: Update misc functions to honor platform value type.
Added associated ecmd release ver-14-4-4-ekbonly for testing
Change-Id: I636527a82b60f1d842e2a5619471309cd901f7bf
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22258
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
Reviewed-by: Brian R. Silver <bsilver@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27054
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/hwpf')
-rw-r--r-- | src/import/hwpf/fapi2/include/error_info_defs.H | 6 | ||||
-rw-r--r-- | src/import/hwpf/fapi2/include/fapi2_vpd_access.H | 4 | ||||
-rw-r--r-- | src/import/hwpf/fapi2/include/utils.H | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/import/hwpf/fapi2/include/error_info_defs.H b/src/import/hwpf/fapi2/include/error_info_defs.H index 1f2e57f6e..d2f888d5d 100644 --- a/src/import/hwpf/fapi2/include/error_info_defs.H +++ b/src/import/hwpf/fapi2/include/error_info_defs.H @@ -7,7 +7,7 @@ /* */ /* EKB Project */ /* */ -/* COPYRIGHT 2011,2015 */ +/* COPYRIGHT 2011,2016 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -234,8 +234,8 @@ inline uint16_t getErrorInfoFfdcSize(const T*) /// /// @brief Get FFDC Size specialization for fapi2::Target /// -template<fapi2::TargetType T> -inline uint16_t getErrorInfoFfdcSize(const fapi2::Target<T>&) +template<fapi2::TargetType T, typename V> +inline uint16_t getErrorInfoFfdcSize(const fapi2::Target<T, V>&) { return EI_FFDC_SIZE_TARGET; } diff --git a/src/import/hwpf/fapi2/include/fapi2_vpd_access.H b/src/import/hwpf/fapi2/include/fapi2_vpd_access.H index 31909c566..d31e7add4 100644 --- a/src/import/hwpf/fapi2/include/fapi2_vpd_access.H +++ b/src/import/hwpf/fapi2/include/fapi2_vpd_access.H @@ -81,8 +81,8 @@ class VPDInfo<TARGET_TYPE_MCS> /// FAPI_TRY(getVPD( mcs, vpdInfo, blob )); /// blob now contains the VPD data for the MCS. /// -template<TargetType T> -ReturnCode getVPD(const Target<T>& i_target, +template<TargetType T, typename V> +ReturnCode getVPD(const Target<T, V>& i_target, VPDInfo<T>& io_vpd_info, uint8_t* o_blob); diff --git a/src/import/hwpf/fapi2/include/utils.H b/src/import/hwpf/fapi2/include/utils.H index 10a7c333b..627249794 100644 --- a/src/import/hwpf/fapi2/include/utils.H +++ b/src/import/hwpf/fapi2/include/utils.H @@ -69,8 +69,8 @@ namespace fapi2 /// @return ReturnCode. FAPI2_RC_SUCCESS on success, else platform specified error. /// /// -template<TargetType T> -inline ReturnCode specialWakeup(const Target<T>& i_target, +template<TargetType T, typename V> +inline ReturnCode specialWakeup(const Target<T, V>& i_target, const bool i_enable) { // enforce the allowed target types |