diff options
author | Lateef Quraishi <lateef@us.ibm.com> | 2016-08-16 11:54:07 -0500 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2016-08-17 15:50:10 -0400 |
commit | ad21256bb30d7281f6a57f541226c546735088ab (patch) | |
tree | f59fe57be2444d5f1ea95c701fd2cda45bd74b94 | |
parent | 0178b9e37b42a52d76aa64ac72c24701cad7abba (diff) | |
download | talos-hostboot-ad21256bb30d7281f6a57f541226c546735088ab.tar.gz talos-hostboot-ad21256bb30d7281f6a57f541226c546735088ab.zip |
Plat support for getTarget(ordinal)
Added default V = plat_target_handle_t in template decleration
Change-Id: I15e7a1c15f366940253a8e266bb7e78d56715fe9
RTC: 157141
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28323
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Reviewed-by: A. P. Williams III <iawillia@us.ibm.com>
Reviewed-by: Brian R. Silver <bsilver@us.ibm.com>
Reviewed-by: Matt K. Light <mklight@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28325
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
-rw-r--r-- | src/import/hwpf/fapi2/include/fapi2_target.H | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/import/hwpf/fapi2/include/fapi2_target.H b/src/import/hwpf/fapi2/include/fapi2_target.H index 34bb1c86f..d1b52bfa7 100644 --- a/src/import/hwpf/fapi2/include/fapi2_target.H +++ b/src/import/hwpf/fapi2/include/fapi2_target.H @@ -497,7 +497,7 @@ inline void toString(const Target<T, V>* i_target, char* i_buffer, size_t i_bsiz /// the desired target /// @return Target<T> the target requested /// -template<TargetType T, typename V> +template<TargetType T, typename V = plat_target_handle_t> inline Target<T, V> getTarget(uint64_t Ordinal); // Why has the been removed? For starters, the API name |