summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist_traits.H
diff options
context:
space:
mode:
authorStephen Glancy <sglancy@us.ibm.com>2019-05-16 13:15:08 -0400
committerChristian R. Geddes <crgeddes@us.ibm.com>2019-05-29 14:46:27 -0500
commit6bb5c0eda3181e4114b07c39f02b63fc55c177df (patch)
tree875384c4fdb7761f8d5c17a27619b70592d215dd /src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist_traits.H
parent8dd975ed59754b4ada188a0edebc2ed0f4acb6f1 (diff)
downloadtalos-hostboot-6bb5c0eda3181e4114b07c39f02b63fc55c177df.tar.gz
talos-hostboot-6bb5c0eda3181e4114b07c39f02b63fc55c177df.zip
Fixes MCBIST compile fails
Change-Id: I2b94a626a40c950bd4edadb74761931a7e5828ab Original-Change-Id: I1291395e42ab97a8625ed2ef57cbcffc7f26cc2a Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/77485 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Mark Pizzutillo <mark.pizzutillo@ibm.com> Reviewed-by: Devon A. Baughen <devon.baughen1@ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/77849 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist_traits.H')
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist_traits.H6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist_traits.H b/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist_traits.H
index f9046be7a..3ee16e068 100644
--- a/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist_traits.H
+++ b/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist_traits.H
@@ -38,6 +38,7 @@
#include <fapi2.H>
+#include <lib/shared/mss_const.H>
#include <generic/memory/lib/utils/shared/mss_generic_consts.H>
#include <generic/memory/lib/utils/mcbist/gen_address.H>
#include <generic/memory/lib/utils/mcbist/gen_mss_mcbist_traits.H>
@@ -73,6 +74,7 @@ class mcbistTraits<mss::mc_type::NIMBUS, fapi2::TARGET_TYPE_MCBIST>
// ATTN support
static constexpr mss::states CFG_ENABLE_ATTN_SUPPORT = mss::states::YES;
+ static constexpr mss::states BROADCAST_CAPABLE = mss::states::YES;
// Multi-ports, dimms
static constexpr mss::states MULTI_PORTS = mss::states::YES;
@@ -88,7 +90,9 @@ class mcbistTraits<mss::mc_type::NIMBUS, fapi2::TARGET_TYPE_MCBIST>
static constexpr uint64_t LARGEST_ADDRESS = ~0 >> mss::mcbist::address::MAGIC_PAD;
// Size
- static constexpr size_t PORTS_PER_MCBIST = 4;
+ static constexpr size_t PORTS_PER_MCBIST = mss::PORTS_PER_MCBIST;
+ static constexpr size_t MAX_DIMM_PER_PORT = mss::MAX_DIMM_PER_PORT;
+ static constexpr size_t MAX_PRIMARY_RANKS_PER_PORT = mss::MAX_PRIMARY_RANKS_PER_PORT;
static constexpr size_t MAX_DQ_BITS = 72;
static constexpr size_t MAX_DQ_NIBBLES = MAX_DQ_BITS /
BITS_PER_NIBBLE; ///< For ISDIMMs are 18 DQ nibbles for DQ 72 bits
OpenPOWER on IntegriCloud