From 82423eab5bba1c7781866366476eb36e9b9f72a1 Mon Sep 17 00:00:00 2001 From: Stephen Glancy Date: Thu, 16 May 2019 13:15:08 -0400 Subject: Fixes MCBIST compile fails Change-Id: I1291395e42ab97a8625ed2ef57cbcffc7f26cc2a Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/77485 Tested-by: FSP CI Jenkins Tested-by: Jenkins Server Reviewed-by: Louis Stermole Reviewed-by: Mark Pizzutillo Reviewed-by: Devon A. Baughen Tested-by: Hostboot CI Reviewed-by: ANDRE A. MARIN Reviewed-by: Thi N. Tran Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/77504 Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Christian R. Geddes --- .../explorer/procedures/hwp/memory/lib/mcbist/exp_mcbist_traits.H | 6 +++++- .../ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'src/import/chips/ocmb/explorer/procedures/hwp') diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/mcbist/exp_mcbist_traits.H b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/mcbist/exp_mcbist_traits.H index 6077a564e..22d40f36b 100644 --- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/mcbist/exp_mcbist_traits.H +++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/mcbist/exp_mcbist_traits.H @@ -74,6 +74,7 @@ class mcbistTraits< mss::mc_type::EXPLORER, fapi2::TARGET_TYPE_OCMB_CHIP> // ATTN support static constexpr mss::states CFG_ENABLE_ATTN_SUPPORT = mss::states::NO; + static constexpr mss::states BROADCAST_CAPABLE = mss::states::NO; // Multi-ports, dimms static constexpr mss::states MULTI_PORTS = mss::states::NO; @@ -89,7 +90,10 @@ class mcbistTraits< mss::mc_type::EXPLORER, fapi2::TARGET_TYPE_OCMB_CHIP> static constexpr uint64_t LARGEST_ADDRESS = ~0 >> (mss::mcbist::address::MAGIC_PAD + 2); // Size - static constexpr size_t PORTS_PER_MCBIST = 1; + static constexpr size_t PORTS_PER_MCBIST = mss::exp::MAX_PORT_PER_OCMB; + static constexpr size_t MAX_DIMM_PER_PORT = mss::exp::MAX_DIMM_PER_PORT; + // Closest we've got to primary rank + static constexpr size_t MAX_PRIMARY_RANKS_PER_PORT = mss::exp::MAX_RANK_PER_DIMM; static constexpr size_t MAX_DQ_BITS = 80; static constexpr size_t MAX_DQ_NIBBLES = MAX_DQ_BITS / BITS_PER_NIBBLE; static constexpr size_t MAX_DRAMS_X8 = MAX_DQ_BITS / BITS_PER_BYTE; diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H index 48a565f3d..37bad4942 100644 --- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H +++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H @@ -118,6 +118,7 @@ enum attr_eff_engine_fields /// enum sizes { + MAX_PORT_PER_OCMB = 1, MAX_DIMM_PER_PORT = 2, MAX_RANK_PER_DIMM = 4, MAX_BITS_PER_PORT = 80, -- cgit v1.2.1