summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/memory/lib/shared
diff options
context:
space:
mode:
authorBrian Silver <bsilver@us.ibm.com>2016-06-02 06:28:57 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-06-10 14:46:49 -0400
commit3d485fbdab55175f716253b4fe4c52835c93a5a0 (patch)
tree1a36d89d454e170b69d0b93e921033d1e1512722 /src/import/chips/p9/procedures/hwp/memory/lib/shared
parent0c34e40e9061b3431e294931659dc67c8f340130 (diff)
downloadtalos-hostboot-3d485fbdab55175f716253b4fe4c52835c93a5a0.tar.gz
talos-hostboot-3d485fbdab55175f716253b4fe4c52835c93a5a0.zip
Add memdiags scrub capability
Change-Id: I1f42c836a8fc4ff3ca31401ec53f2a3aeda77513 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25376 Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Tested-by: Jenkins Server Tested-by: Hostboot CI Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25377 Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/lib/shared')
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/lib/shared/mss_const.H8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/shared/mss_const.H b/src/import/chips/p9/procedures/hwp/memory/lib/shared/mss_const.H
index 5a9a53037..5c32022a5 100644
--- a/src/import/chips/p9/procedures/hwp/memory/lib/shared/mss_const.H
+++ b/src/import/chips/p9/procedures/hwp/memory/lib/shared/mss_const.H
@@ -49,6 +49,9 @@ enum sizes
MAX_SLEW_VALUE = 15, ///< 4 bit value
MAX_SUPPORTED_FREQUENCIES = 1, ///< Number of supported frequencies. Right now it's only 2400
+ BYTES_PER_GB = 1000000000, ///< Multiplier to go from GB to B
+ T_PER_MT = 1000000, ///< Multiplier to go from MT/s to T/s
+
// All need to be attributes - BRS
// 48:51, 0b1100, (def_is_sim); # BIG_STEP = 12 (changed from default for SIM)
// 48:51, 0b0000, any; # BIG_STEP = 0 SWyatt
@@ -87,6 +90,11 @@ enum times
// From the DDR4spec 2400 speed - need to be changed to read attributes. BRS
tWLO = 10,
tWLOE = 2,
+
+ SEC_IN_HOUR = 60 * 60, ///< seconds in an hour, used for scrub times
+ BG_SCRUB_IN_HOURS = 12,
+
+ CMD_TIMEBASE = 8192, ///< Represents the timebase multiplier for the MCBIST inter cmd gap
};
enum states
OpenPOWER on IntegriCloud