diff options
author | whs <whs@us.ibm.com> | 2016-06-02 13:45:11 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-06-24 09:58:06 -0400 |
commit | 7e8f95823e071367bc17bb95113239324f06e5d5 (patch) | |
tree | fb3d8f7dcd3140e27c023a61da892c7e9ac02244 /src/import/chips/p9/procedures/hwp/memory/p9_mss_freq_system.C | |
parent | bdf3883c19f15d8f670f74b8154d73abd6e5b58c (diff) | |
download | talos-hostboot-7e8f95823e071367bc17bb95113239324f06e5d5.tar.gz talos-hostboot-7e8f95823e071367bc17bb95113239324f06e5d5.zip |
Packaging of memory vpd on Nimbus, MCA->MCS
Change from MCA to MCS target. Update decode logic.
Change-Id: I071a4a1493637fdaf9119dc52874dc9984147038
Original-Change-Id: I71408c25ce33cf6e342bb704b5d173f8d98229dc
RTC: 144519
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25403
Tested-by: Jenkins Server
Tested-by: PPE CI
Tested-by: Hostboot CI
Reviewed-by: William H. Schwartz <whs@us.ibm.com>
Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26213
Tested-by: FSP CI Jenkins
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/p9_mss_freq_system.C')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/memory/p9_mss_freq_system.C | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/p9_mss_freq_system.C b/src/import/chips/p9/procedures/hwp/memory/p9_mss_freq_system.C index 0d77b65b6..652749e06 100644 --- a/src/import/chips/p9/procedures/hwp/memory/p9_mss_freq_system.C +++ b/src/import/chips/p9/procedures/hwp/memory/p9_mss_freq_system.C @@ -67,8 +67,13 @@ extern "C" // Get nest freq && F/W attr that tells me if sync mode is required // or if I have to figure that out - FAPI_TRY( mss::required_synch_mode(l_required_sync_mode) ); - FAPI_TRY( FAPI_ATTR_GET( fapi2::ATTR_FREQ_PB_MHZ, fapi2::Target<TARGET_TYPE_SYSTEM>(), l_nest_freq) ); + FAPI_TRY( FAPI_ATTR_GET( fapi2::ATTR_REQUIRED_SYNCH_MODE, + fapi2::Target<TARGET_TYPE_SYSTEM>(), + l_required_sync_mode ) ); + + FAPI_TRY( FAPI_ATTR_GET( fapi2::ATTR_FREQ_PB_MHZ, + fapi2::Target<TARGET_TYPE_SYSTEM>(), + l_nest_freq) ); FAPI_INF("Retrieved req'd sync mode: %d and nest freq %d", l_required_sync_mode, l_nest_freq); @@ -87,7 +92,9 @@ extern "C" const auto& l_proc_chip = mss::find_target<TARGET_TYPE_PROC_CHIP>(l_mcbist); // Cast converts enum class to uint8_t& expected for ATTR_SET - FAPI_TRY( FAPI_ATTR_SET( fapi2::ATTR_MC_SYNC_MODE, l_proc_chip, reinterpret_cast<uint8_t(&)>(l_mc_in_sync) ), + FAPI_TRY( FAPI_ATTR_SET( fapi2::ATTR_MC_SYNC_MODE, + l_proc_chip, + reinterpret_cast<uint8_t(&)>(l_mc_in_sync) ), "Failed to set ATTR_MC_SYNC_MODE"); } |