Skip to content

Commit

Permalink
Adds exp_draminit_mc
Browse files Browse the repository at this point in the history
Change-Id: Id08322cdbd0c77cebe4d17081c72b865ee472ec2
Original-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>
  • Loading branch information
alvintpwang authored and Raja Das committed Jul 26, 2019
1 parent 13e163d commit 180d29e
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions src/import/generic/memory/lib/utils/shared/mss_generic_consts.H
Expand Up @@ -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
};

///
Expand Down Expand Up @@ -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
{

Expand Down Expand Up @@ -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

0 comments on commit 180d29e

Please sign in to comment.