diff options
author | Brian Silver <bsilver@us.ibm.com> | 2016-06-10 11:11:09 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-06-14 17:48:10 -0400 |
commit | e86e4e16585343c8e1669038b3c3c88d00799c88 (patch) | |
tree | f88290c361ca6a1af9d6e6ed92f67edb4bc98986 /src/import/chips/p9/procedures/hwp/memory/lib/phy/dp16.H | |
parent | bed9ebebc62c28ea7116875b5a358a09d88f4eba (diff) | |
download | talos-hostboot-e86e4e16585343c8e1669038b3c3c88d00799c88.tar.gz talos-hostboot-e86e4e16585343c8e1669038b3c3c88d00799c88.zip |
Change mss lib so testing works with ATTR_IS_SIMULATION false
Add eff_config to p9_mss_ut.C so it's run for all tests
Fix the freq sync unit test to not trash mss_freq
Fix the attribute file to be in line with the base attibutes
Fix p9_msS_freq.H include guard
Fix DRAM_BL to be a 2D array in mss attribute file
Change-Id: Id18ab3eb4b60f72af64c647f5ff7afe68b7e5097
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25651
Tested-by: Jenkins Server
Tested-by: Hostboot CI
Reviewed-by: ANDRE A. MARIN <aamarin@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/25653
Tested-by: FSP CI Jenkins
Reviewed-by: Daniel M. Crowell <dcrowell@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 | 11 |
1 files changed, 10 insertions, 1 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 bed4e6e77..754e4c16e 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 @@ -48,6 +48,8 @@ inline uint64_t freq_bitfield_helper( const uint64_t i_freq ) { fapi2::buffer<uint64_t> l_data(0b1000); + FAPI_DBG("freq_bitfield_helper seeing MT/s: %d", i_freq); + // Shift l_data over based on freq. switch(i_freq) { @@ -64,7 +66,14 @@ inline uint64_t freq_bitfield_helper( const uint64_t i_freq ) l_data >>= 1; break; - // 2666 is >> 0 + case fapi2::ENUM_ATTR_MSS_FREQ_MT2666: + l_data >>= 0; + break; + + default: + FAPI_ERR("Unkown MT/s: %d", i_freq); + fapi2::Assert(false); + break; }; return l_data; |