diff options
author | Brian Silver <bsilver@us.ibm.com> | 2016-10-15 14:48:09 -0500 |
---|---|---|
committer | Christian R. Geddes <crgeddes@us.ibm.com> | 2016-10-17 19:22:07 -0400 |
commit | b0ab4eba6ed082e3e5613b924bc63d1cea00be8a (patch) | |
tree | 63b77e6ec2be81e2f323303ccf851484cdf0c29a /src/import/chips/p9/procedures/hwp/memory/lib/phy/dp16.H | |
parent | 8175fb0211fd0a30984e29c496e14c785fb4c1e2 (diff) | |
download | talos-hostboot-b0ab4eba6ed082e3e5613b924bc63d1cea00be8a.tar.gz talos-hostboot-b0ab4eba6ed082e3e5613b924bc63d1cea00be8a.zip |
Add RCD parity, clear parity FIR before training
Update RDTAG
Make another patchset because Jenkins
Change-Id: I76831e1bc09949fe2247db6856f53479de83edd5
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31299
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com>
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31308
Reviewed-by: Hostboot Team <hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/lib/phy/dp16.H')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/memory/lib/phy/dp16.H | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/phy/dp16.H b/src/import/chips/p9/procedures/hwp/memory/lib/phy/dp16.H index bbd2e1f73..aa7ee7783 100644 --- a/src/import/chips/p9/procedures/hwp/memory/lib/phy/dp16.H +++ b/src/import/chips/p9/procedures/hwp/memory/lib/phy/dp16.H @@ -138,7 +138,8 @@ class dp16Traits<fapi2::TARGET_TYPE_MCA> static constexpr uint64_t RD_VREF_DAC_STEP = 6500; // Vectors of DP16 registers. The pair represents the two DLL in per DP16 - static const std::vector< std::pair<uint64_t, uint64_t> > DLL_CNFG_REG; + static const std::vector< uint64_t > DLL_CNFG_REG; + static const std::vector< std::pair<uint64_t, uint64_t> > DLL_CNTRL_REG; static const std::vector< std::pair<uint64_t, uint64_t> > DLL_DAC_LOWER_REG; static const std::vector< std::pair<uint64_t, uint64_t> > DLL_DAC_UPPER_REG; static const std::vector< std::pair<uint64_t, uint64_t> > DLL_SLAVE_LOWER_REG; @@ -404,7 +405,7 @@ inline fapi2::ReturnCode read_dll_cntl( const fapi2::Target<T>& i_target, fapi2: static_assert( D < TT::DLL_PER_DP16, "dll instance out of range"); // The pair represents the upper and lower bytes of the DP16 - each has its own DLL registers - const uint64_t& l_addr = (D == 0) ? TT::DLL_CNFG_REG[I].first : TT::DLL_CNFG_REG[I].second; + const uint64_t& l_addr = (D == 0) ? TT::DLL_CNTRL_REG[I].first : TT::DLL_CNTRL_REG[I].second; FAPI_TRY( mss::getScom(i_target, l_addr, o_data) ); FAPI_INF("dll_cntl dp16<%d, %d>: 0x%016lx", I, D, o_data); @@ -431,7 +432,7 @@ inline fapi2::ReturnCode write_dll_cntl( const fapi2::Target<T>& i_target, const static_assert( D < TT::DLL_PER_DP16, "dll instance out of range"); // The pair represents the upper and lower bytes of the DP16 - each has its own DLL registers - const uint64_t& l_addr = (D == 0) ? TT::DLL_CNFG_REG[I].first : TT::DLL_CNFG_REG[I].second; + const uint64_t& l_addr = (D == 0) ? TT::DLL_CNTRL_REG[I].first : TT::DLL_CNTRL_REG[I].second; FAPI_INF("dll_cntl dp16<%d,%d>: 0x%016lx", I, D, i_data); FAPI_TRY( mss::putScom(i_target, l_addr, i_data) ); |