summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/memory/lib/spd
diff options
context:
space:
mode:
authorAndre Marin <aamarin@us.ibm.com>2016-12-16 12:21:46 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-01-04 17:29:21 -0500
commita5a056312006942f7a12cad606f570def4d3b37b (patch)
tree75cf36e811e598176a9f4dc6bab4841d6f3d386a /src/import/chips/p9/procedures/hwp/memory/lib/spd
parentd7c0bfe034c7c10adde8983f0da0ebbfd46827d6 (diff)
downloadtalos-hostboot-a5a056312006942f7a12cad606f570def4d3b37b.tar.gz
talos-hostboot-a5a056312006942f7a12cad606f570def4d3b37b.zip
Add missing raw card reference (C2) for RDIMMs and UTs
Change-Id: I20feae0462fcf687563c7442f5916c8d8ba8cdb2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33999 Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: JACOB L. HARVEY <jlharvey@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/34003 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> 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/spd')
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/lib/spd/rdimm/rdimm_raw_cards.C25
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/lib/spd/rdimm/rdimm_raw_cards.H3
2 files changed, 28 insertions, 0 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 3c4d498fe..9375877a4 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
@@ -70,6 +70,30 @@ rcw_settings rdimm_rc_c1( 0x00, // RC00
0x07);// RCBX
///
+/// @brief raw card C2 settings
+/// @note same settings as C1
+///
+rcw_settings rdimm_rc_c2( 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 A1 settings
///
rcw_settings rdimm_rc_a1( 0x00, // RC00
@@ -126,6 +150,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::C2, rdimm_rc_c2},
};
}// rdimm
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 960b14e38..957fe2a8b 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
@@ -61,6 +61,8 @@ enum raw_card_rev : uint8_t
// since it is unlikely we will use a DIMM w/o a
// reference caw card design.
VBU = 0x23,
+
+ C2 = 0x42,
};
// Raw cards can share the same raw card # between RDIMM and LRDIMMs so
@@ -72,6 +74,7 @@ extern const std::vector< std::pair< uint8_t, rcw_settings> > RAW_CARDS;
// Exposed so we can test them.
extern rcw_settings rdimm_rc_c1;
+extern rcw_settings rdimm_rc_c2;
extern rcw_settings rdimm_rc_a1;
extern rcw_settings rdimm_rc_vbu;
OpenPOWER on IntegriCloud