summaryrefslogtreecommitdiffstats
path: root/src/import/chips/ocmb/common/procedures/hwp/pmic/lib/utils/pmic_consts.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/import/chips/ocmb/common/procedures/hwp/pmic/lib/utils/pmic_consts.H')
-rw-r--r--src/import/chips/ocmb/common/procedures/hwp/pmic/lib/utils/pmic_consts.H42
1 files changed, 5 insertions, 37 deletions
diff --git a/src/import/chips/ocmb/common/procedures/hwp/pmic/lib/utils/pmic_consts.H b/src/import/chips/ocmb/common/procedures/hwp/pmic/lib/utils/pmic_consts.H
index 1d1b4feaf..4cb511dae 100644
--- a/src/import/chips/ocmb/common/procedures/hwp/pmic/lib/utils/pmic_consts.H
+++ b/src/import/chips/ocmb/common/procedures/hwp/pmic/lib/utils/pmic_consts.H
@@ -156,9 +156,11 @@ enum class attr_eff_engine_fields
PMIC0_MFG_ID = 43,
PMIC1_MFG_ID = 44,
+ PMIC0_SEQUENCE = 45,
+ PMIC1_SEQUENCE = 46,
// Dispatcher set to last enum value
- DISPATCHER = PMIC1_MFG_ID,
+ DISPATCHER = PMIC1_SEQUENCE,
};
///
@@ -220,7 +222,8 @@ enum ffdc_codes
SET_PMIC0_MFG_ID = 0x107C,
SET_PMIC1_MFG_ID = 0x107D,
- SET_DRAM_MODULE_HEIGHT = 0x107E,
+ SET_PMIC0_SEQUENCE = 0x107E,
+ SET_PMIC1_SEQUENCE = 0x107F,
};
///
@@ -292,41 +295,6 @@ struct consts<mss::pmic::product::JEDEC_COMPLIANT>
static constexpr uint32_t VOLT_STEP = 5;
};
-///
-/// @brief PMIC traits that change depending on DIMM module height
-///
-/// @tparam H module_height enum
-///
-template<mss::pmic::module_height H>
-struct pmic_traits;
-
-///
-/// @brief pmic traits for 1U dimms
-///
-template <>
-struct pmic_traits<mss::pmic::module_height::HEIGHT_1U>
-{
- static constexpr uint8_t PMICS_PER_DIMM = 2;
-};
-
-///
-/// @brief pmic traits for 2U dimms
-///
-template <>
-struct pmic_traits<mss::pmic::module_height::HEIGHT_2U>
-{
- static constexpr uint8_t PMICS_PER_DIMM = 2;
-};
-
-///
-/// @brief pmic traits for 4U dimms
-///
-template <>
-struct pmic_traits<mss::pmic::module_height::HEIGHT_4U>
-{
- static constexpr uint8_t PMICS_PER_DIMM = 4;
-};
-
namespace i2c
{
OpenPOWER on IntegriCloud