summaryrefslogtreecommitdiffstats
path: root/src/import/chips/ocmb/explorer/procedures
diff options
context:
space:
mode:
authorMark Pizzutillo <Mark.Pizzutillo@ibm.com>2019-09-27 14:38:17 -0400
committerDaniel M Crowell <dcrowell@us.ibm.com>2019-10-08 11:18:37 -0500
commit822fea83d0ca1c81ea859f4cf4a5dc9a1c2f8418 (patch)
tree67d706b6725a2da490503f9d9223124c2272fb03 /src/import/chips/ocmb/explorer/procedures
parent104c2dc5963a11e6b0d15888705eeb6c18a4c314 (diff)
downloadtalos-hostboot-822fea83d0ca1c81ea859f4cf4a5dc9a1c2f8418.tar.gz
talos-hostboot-822fea83d0ca1c81ea859f4cf4a5dc9a1c2f8418.zip
Add MDS attribute & draminit support
Change-Id: I0496a52f5c7dd72779ed097c26fc8b305a9e00b0 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/84431 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/84454 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/ocmb/explorer/procedures')
-rw-r--r--src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/exp_draminit_utils.H17
1 files changed, 13 insertions, 4 deletions
diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/exp_draminit_utils.H b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/exp_draminit_utils.H
index ba37f9abc..80c4f359e 100644
--- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/exp_draminit_utils.H
+++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/exp_draminit_utils.H
@@ -58,10 +58,11 @@ namespace exp
///
enum msdg_dimm_types
{
- MSDG_UDIMM = 0x0000,
- MSDG_RDIMM = 0x0001,
- MSDG_LRDIMM = 0x0002,
- MSDG_DDIMM = 0x0003,
+ MSDG_UDIMM = 0x0000,
+ MSDG_RDIMM = 0x0001,
+ MSDG_LRDIMM = 0x0002,
+ MSDG_MDS_LRDIMM = 0x0003,
+ MSDG_MDS = 0x0004
};
///
@@ -441,6 +442,14 @@ class phy_params
io_phy_params.DimmType = MSDG_LRDIMM;
break;
+ case fapi2::ENUM_ATTR_MEM_EFF_DIMM_TYPE_MDS_LRDIMM:
+ io_phy_params.DimmType = MSDG_MDS_LRDIMM;
+ break;
+
+ case fapi2::ENUM_ATTR_MEM_EFF_DIMM_TYPE_MDS:
+ io_phy_params.DimmType = MSDG_MDS;
+ break;
+
default:
const auto& l_ocmb = mss::find_target<fapi2::TARGET_TYPE_OCMB_CHIP>(iv_target);
FAPI_ASSERT(false,
OpenPOWER on IntegriCloud