Skip to content

Commit

Permalink
Reinstates exp_draminit_mc with change_addr_mux_sel fix
Browse files Browse the repository at this point in the history
Change-Id: I410caeac98273f8e460677945e356631d530a220
Original-Change-Id: Ief62fadce588bf65e249ae771bd03ab31ed4bddf
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71201
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Dev-Ready: Louis Stermole <stermole@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: Louis Stermole <stermole@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 caacd24 commit d48d771
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
Expand Up @@ -36,8 +36,13 @@
#ifndef EXP_CONSTS_H
#define EXP_CONSTS_H

#include <generic/memory/lib/utils/shared/mss_generic_consts.H>

namespace mss
{

constexpr mss::mc_type DEFAULT_MC_TYPE = mss::mc_type::EXPLORER;

namespace exp
{

Expand Down
39 changes: 39 additions & 0 deletions src/import/generic/memory/lib/utils/shared/mss_generic_consts.H
Expand Up @@ -83,6 +83,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 @@ -189,6 +190,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 @@ -309,6 +334,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 d48d771

Please sign in to comment.