diff options
author | Andre Marin <aamarin@us.ibm.com> | 2016-12-13 23:37:58 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-01-30 11:37:45 -0500 |
commit | f749a664891ad165ebbbbf608b708b4662014d85 (patch) | |
tree | 1e13102983d80b27ac359b2445666a7cb43bfa04 /src/import/chips/p9/procedures/hwp/memory/lib/utils | |
parent | 108b2c686505792772d1e6e3afb79071aa923bf3 (diff) | |
download | talos-hostboot-f749a664891ad165ebbbbf608b708b4662014d85.tar.gz talos-hostboot-f749a664891ad165ebbbbf608b708b4662014d85.zip |
Add FORCE_FIFO_CAPTURE API and UTs. scominit cleanup.
Change-Id: I26fe63dee8e16a331131d1db359909b2d57a506a
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33817
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Brian R. Silver <bsilver@us.ibm.com>
Reviewed-by: JACOB L. HARVEY <jlharvey@us.ibm.com>
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33821
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
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/chips/p9/procedures/hwp/memory/lib/utils')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/memory/lib/utils/scom.H | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/utils/scom.H b/src/import/chips/p9/procedures/hwp/memory/lib/utils/scom.H index d193944ba..7cd747dd6 100644 --- a/src/import/chips/p9/procedures/hwp/memory/lib/utils/scom.H +++ b/src/import/chips/p9/procedures/hwp/memory/lib/utils/scom.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2016 */ +/* Contributors Listed Below - COPYRIGHT 2015,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -134,7 +134,7 @@ fapi2::ReturnCode scom_blastah( const fapi2::Target<T>& i_target, { size_t count(0); - for (auto a : i_addrs) + for (const auto& a : i_addrs) { FAPI_TRY( mss::putScom(i_target, a, i_data) ); ++count; @@ -162,7 +162,7 @@ fapi2::ReturnCode scom_blastah( const std::vector<fapi2::Target<T> >& i_targets, { size_t count(0); - for (auto t : i_targets) + for (const auto& t : i_targets) { FAPI_TRY( mss::putScom(t, i_addr, i_data) ); ++count; @@ -190,7 +190,7 @@ fapi2::ReturnCode scom_blastah( const std::vector<fapi2::Target<T> >& i_targets, { size_t count(0); - for (auto t : i_targets) + for (const auto& t : i_targets) { FAPI_TRY( mss::scom_blastah(t, i_addrs, i_data) ); ++count; |