summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/import/chips/ocmb/explorer/common/include/exp_data_structs.H4
-rw-r--r--src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/exp_draminit_utils.H17
-rw-r--r--src/import/generic/procedures/xml/attribute_info/generic_memory_eff_attributes.xml2
3 files changed, 17 insertions, 6 deletions
diff --git a/src/import/chips/ocmb/explorer/common/include/exp_data_structs.H b/src/import/chips/ocmb/explorer/common/include/exp_data_structs.H
index 206a847e3..dbd1c8d75 100644
--- a/src/import/chips/ocmb/explorer/common/include/exp_data_structs.H
+++ b/src/import/chips/ocmb/explorer/common/include/exp_data_structs.H
@@ -124,7 +124,9 @@ typedef struct __attribute__((packed)) user_input_msdg
// Choose the Dimm type from one of below:
// 0 = UDIMM
// 1 = RDIMM
- // 2 = LRDIMM
+ // 2 = LRDIMM (invalid for explorer)
+ // 3 = MDS-LRDIMM
+ // 4 = MDS
uint16_t DimmType;
// Indicates presence of DRAM at each chip select for PHY. Each
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,
diff --git a/src/import/generic/procedures/xml/attribute_info/generic_memory_eff_attributes.xml b/src/import/generic/procedures/xml/attribute_info/generic_memory_eff_attributes.xml
index 850f449d7..d434b72b2 100644
--- a/src/import/generic/procedures/xml/attribute_info/generic_memory_eff_attributes.xml
+++ b/src/import/generic/procedures/xml/attribute_info/generic_memory_eff_attributes.xml
@@ -64,7 +64,7 @@
</description>
<initToZero></initToZero>
<valueType>uint8</valueType>
- <enum> EMPTY = 0, RDIMM = 1, UDIMM = 2, LRDIMM = 3, DDIMM = 4</enum>
+ <enum> EMPTY = 0, RDIMM = 1, UDIMM = 2, LRDIMM = 3, DDIMM = 4, MDS_LRDIMM = 5, MDS = 6</enum>
<writeable/>
<array>2</array>
<mssAccessorName>dimm_type</mssAccessorName>
OpenPOWER on IntegriCloud