summaryrefslogtreecommitdiffstats
path: root/src/import/generic/memory/lib/utils/shared
diff options
context:
space:
mode:
authorAlvin Wang <wangat@tw.ibm.com>2019-01-29 02:13:09 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-02-05 17:01:43 -0600
commitc9b82b3883b174d1cf181e9f0b9c9f261ccfa132 (patch)
tree64dcc0d2355b445418eaece1e8de6b3117504d23 /src/import/generic/memory/lib/utils/shared
parentbd7d0b7b5d90275064bdb3ca6a5cd1e36f37bcf7 (diff)
downloadtalos-hostboot-c9b82b3883b174d1cf181e9f0b9c9f261ccfa132.tar.gz
talos-hostboot-c9b82b3883b174d1cf181e9f0b9c9f261ccfa132.zip
Adds exp_draminit_mc
Change-Id: Ib4a31d2893c5524e3b2ce9128a2c4900bd82b2c0 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68597 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> 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://rchgit01.rchland.ibm.com/gerrit1/68920 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/generic/memory/lib/utils/shared')
-rw-r--r--src/import/generic/memory/lib/utils/shared/mss_generic_consts.H39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/import/generic/memory/lib/utils/shared/mss_generic_consts.H b/src/import/generic/memory/lib/utils/shared/mss_generic_consts.H
index d017933bb..41e36ca55 100644
--- a/src/import/generic/memory/lib/utils/shared/mss_generic_consts.H
+++ b/src/import/generic/memory/lib/utils/shared/mss_generic_consts.H
@@ -82,6 +82,7 @@ enum conversions
enum generic_sizes
{
NUM_MAX_FREQS = 5, ///< Used for ATTR_MAX_ALLOWED_DIMM_FREQ
+ MARK_STORE_COUNT = 8, ///< Elements in a VPD mark/store array
};
///
@@ -188,6 +189,30 @@ enum ddr_dimm_speeds
DDR5_MAX_SPEED = 4800,
};
+enum states
+{
+ LOW = 0,
+ HIGH = 1,
+ START = 1,
+ STOP = 0,
+ START_N = 0,
+ STOP_N = 1,
+ ON = 1,
+ OFF = 0,
+ ON_N = 0,
+ OFF_N = 1,
+ YES = 1,
+ NO = 0,
+ YES_N = 0,
+ NO_N = 1,
+ // Uses "_" in the name for INVALID as INVALID is defined as a macro in the
+ // FSP code. If we just use INVALID as an enum name, then the preprocessor
+ // compile phase changes it to be the macro.
+ _INVALID_ = 0xFF,
+ NO_CHIP_SELECT_ACTIVE = 0xFF,
+};
+
+
namespace spd
{
@@ -291,6 +316,20 @@ struct procTraits<proc_type::NIMBUS>
};
};
+///
+/// @brief Trait classes for proc_type - AXONE specialization
+///
+/// TODO: Need to add mc_type
+template< >
+struct procTraits<proc_type::AXONE>
+{
+ enum
+ {
+ EXP_PORTS_PER_OCMB = 1,
+ };
+};
+
+
}// mss
#endif
OpenPOWER on IntegriCloud