summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Glancy <sglancy@us.ibm.com>2019-07-24 11:41:49 -0400
committerDaniel M Crowell <dcrowell@us.ibm.com>2019-08-09 07:57:43 -0500
commit0d1f65bf28a7e415c830dd8cf57c5e1f8fbd0c1f (patch)
treec8bf7c4379b247c67b74a2b0d161be25267ba7bd /src
parent1c64cf3cb1914026666d9067760556473293ee29 (diff)
downloadtalos-hostboot-0d1f65bf28a7e415c830dd8cf57c5e1f8fbd0c1f.tar.gz
talos-hostboot-0d1f65bf28a7e415c830dd8cf57c5e1f8fbd0c1f.zip
Adds explorer MCBIST address/data traps processing
Change-Id: If0a805d0568d19076257a4591dd4ac017da36204 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/80910 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: ANDRE A MARIN <aamarin@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/80943 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/import/chips/ocmb/explorer/common/include/explorer_scom_addresses_fixes.H1
-rw-r--r--src/import/chips/ocmb/explorer/common/include/explorer_scom_addresses_fld_fixes.H1
-rw-r--r--src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H1
-rw-r--r--src/import/generic/memory/lib/utils/shared/mss_generic_consts.H8
4 files changed, 11 insertions, 0 deletions
diff --git a/src/import/chips/ocmb/explorer/common/include/explorer_scom_addresses_fixes.H b/src/import/chips/ocmb/explorer/common/include/explorer_scom_addresses_fixes.H
index 37ac4d3d0..e82bd9dec 100644
--- a/src/import/chips/ocmb/explorer/common/include/explorer_scom_addresses_fixes.H
+++ b/src/import/chips/ocmb/explorer/common/include/explorer_scom_addresses_fixes.H
@@ -3147,5 +3147,6 @@ static const uint64_t EXP_DDR4_PHY_DBYTE9_RXPBDLYTG3_R6 = 0x040659acull;
static const uint64_t EXP_DDR4_PHY_DBYTE9_RXPBDLYTG3_R7 = 0x04065dacull;
static const uint64_t EXP_DDR4_PHY_DBYTE9_RXPBDLYTG3_R8 = 0x040661acull;
static const uint64_t EXPLR_RDF_MCBCM2 = 0x08011c35ull;
+static const uint64_t EXPLR_TP_MB_UNIT_TOP_TR1_TRACE_TRCTRL_CONFIG = 0x08010442ull;
#endif
diff --git a/src/import/chips/ocmb/explorer/common/include/explorer_scom_addresses_fld_fixes.H b/src/import/chips/ocmb/explorer/common/include/explorer_scom_addresses_fld_fixes.H
index d96747dad..bcdee837c 100644
--- a/src/import/chips/ocmb/explorer/common/include/explorer_scom_addresses_fld_fixes.H
+++ b/src/import/chips/ocmb/explorer/common/include/explorer_scom_addresses_fld_fixes.H
@@ -48,5 +48,6 @@ static const uint8_t EXPLR_MCBIST_MBSSYMEC9Q_MODAL_SYMBOL_COUNTER_79 =
static const uint8_t EXPLR_MCBIST_MBSSYMEC9Q_MODAL_SYMBOL_COUNTER_79_LEN = 8 ;
static const uint8_t EXPLR_RDF_MCBCM2_MCBIST_HALF_COMPARE_MASK = 0 ;
static const uint8_t EXPLR_RDF_MCBCM2_MCBIST_HALF_COMPARE_MASK_LEN = 40 ;
+static const uint8_t EXPLR_TP_MB_UNIT_TOP_TR1_TRACE_TRCTRL_CONFIG_TRA_MASTER_CLOCK_ENABLE = 22;
#endif
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 8d0339a00..b37a5008e 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
@@ -128,6 +128,7 @@ enum sizes
MAX_SYMBOLS_PER_PORT = 72,
MAX_RANKS_DIMM1 = 2,
MAX_MRANK_PER_PORT = MAX_DIMM_PER_PORT * MAX_RANK_PER_DIMM,
+ MAX_BYTES_PER_PORT = MAX_DQ_BITS_PER_PORT / BITS_PER_BYTE,
};
#endif
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 1d95e82d5..e49ca8ecc 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
@@ -115,6 +115,14 @@ enum conversions
NIBBLES_PER_BYTE = 2,
BITS_PER_NIBBLE = 4,
BITS_PER_BYTE = 8,
+ BIT_POS_FOR_BYTE0 = BITS_PER_BYTE * 0,
+ BIT_POS_FOR_BYTE1 = BITS_PER_BYTE * 1,
+ BIT_POS_FOR_BYTE2 = BITS_PER_BYTE * 2,
+ BIT_POS_FOR_BYTE3 = BITS_PER_BYTE * 3,
+ BIT_POS_FOR_BYTE4 = BITS_PER_BYTE * 4,
+ BIT_POS_FOR_BYTE5 = BITS_PER_BYTE * 5,
+ BIT_POS_FOR_BYTE6 = BITS_PER_BYTE * 6,
+ BIT_POS_FOR_BYTE7 = BITS_PER_BYTE * 7,
// Used by exp_decoder.C for dA to cA
DECI_TO_CENTI = 10,
OpenPOWER on IntegriCloud