diff options
author | Andre Marin <aamarin@us.ibm.com> | 2017-01-11 15:21:56 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-01-19 17:36:23 -0500 |
commit | f2c1df8466f3276890478c382c64397d27efe37c (patch) | |
tree | 94bb0e69231b5d21c0e1b13fa1838ee4dcbe1dc3 /src/import/chips/p9/procedures/hwp/memory/lib/spd | |
parent | a6db9e8f58c2dbd88afc34cf80203beb7aaf7125 (diff) | |
download | talos-hostboot-f2c1df8466f3276890478c382c64397d27efe37c.tar.gz talos-hostboot-f2c1df8466f3276890478c382c64397d27efe37c.zip |
Add RDIMM raw card reference B2 and unit test
Change-Id: I2d46ce9513789de44aefb59218e40e5f96886e7c
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34748
Dev-Ready: KEVIN MCILVAIN <kmcilva@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: JACOB L. HARVEY <jlharvey@us.ibm.com>
Reviewed-by: Brian R. Silver <bsilver@us.ibm.com>
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@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/34757
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/spd')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/memory/lib/spd/rdimm/rdimm_raw_cards.C | 26 | ||||
-rw-r--r-- | src/import/chips/p9/procedures/hwp/memory/lib/spd/rdimm/rdimm_raw_cards.H | 5 |
2 files changed, 28 insertions, 3 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/spd/rdimm/rdimm_raw_cards.C b/src/import/chips/p9/procedures/hwp/memory/lib/spd/rdimm/rdimm_raw_cards.C index 9375877a4..3fbcf44e2 100644 --- a/src/import/chips/p9/procedures/hwp/memory/lib/spd/rdimm/rdimm_raw_cards.C +++ b/src/import/chips/p9/procedures/hwp/memory/lib/spd/rdimm/rdimm_raw_cards.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2016 */ +/* Contributors Listed Below - COPYRIGHT 2016,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -117,6 +117,29 @@ rcw_settings rdimm_rc_a1( 0x00, // RC00 0x07);// RCBX /// +/// @brief raw card B2 settings +/// +rcw_settings rdimm_rc_b2( 0x00, // RC00 + 0x00, // RC01 (C might be the right answer?) + 0x00, // RC02 + 0x0F, // RC06_07 + 0x03, // RC08 + 0x00, // RC09 + 0x0E, // RC0B + 0x00, // RC0C + 0x0D, // RC0E + 0x00, // RC0F + 0x00, // RC1X + 0x00, // RC2X + 0x00, // RC4X + 0x00, // RC5X + 0x00, // RC6X + 0x00, // RC8X + 0x00, // RC9X + 0x00, // RCAX + 0x07);// RCBX + +/// /// @brief raw card VBU settings /// rcw_settings rdimm_rc_vbu( 0x00, // RC00 @@ -150,6 +173,7 @@ const std::vector< std::pair< uint8_t , rcw_settings> > RAW_CARDS = {raw_card_rev::A1, rdimm_rc_a1}, {raw_card_rev::C1, rdimm_rc_c1}, {raw_card_rev::VBU, rdimm_rc_vbu}, + {raw_card_rev::B2, rdimm_rc_b2}, {raw_card_rev::C2, rdimm_rc_c2}, }; diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/spd/rdimm/rdimm_raw_cards.H b/src/import/chips/p9/procedures/hwp/memory/lib/spd/rdimm/rdimm_raw_cards.H index 957fe2a8b..9a3cfdb58 100644 --- a/src/import/chips/p9/procedures/hwp/memory/lib/spd/rdimm/rdimm_raw_cards.H +++ b/src/import/chips/p9/procedures/hwp/memory/lib/spd/rdimm/rdimm_raw_cards.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2016 */ +/* Contributors Listed Below - COPYRIGHT 2016,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -61,7 +61,7 @@ enum raw_card_rev : uint8_t // since it is unlikely we will use a DIMM w/o a // reference caw card design. VBU = 0x23, - + B2 = 0x41, C2 = 0x42, }; @@ -76,6 +76,7 @@ extern const std::vector< std::pair< uint8_t, rcw_settings> > RAW_CARDS; extern rcw_settings rdimm_rc_c1; extern rcw_settings rdimm_rc_c2; extern rcw_settings rdimm_rc_a1; +extern rcw_settings rdimm_rc_b2; extern rcw_settings rdimm_rc_vbu; }// mss |