summaryrefslogtreecommitdiffstats
path: root/src/import/generic/memory/lib/utils/shared
diff options
context:
space:
mode:
authorAlvin Wang <wangat@tw.ibm.com>2019-04-16 10:57:56 -0500
committerRaja Das <rajadas2@in.ibm.com>2019-07-26 00:56:11 -0500
commit54d02bc246dd59352e98a3be1b9756b565d93b5a (patch)
treec35f49c5f21b26396758d50fc66692a1515b42ff /src/import/generic/memory/lib/utils/shared
parenta6a2279a1d918e3cdf3173144894087d6dad7b6b (diff)
downloadtalos-sbe-54d02bc246dd59352e98a3be1b9756b565d93b5a.tar.gz
talos-sbe-54d02bc246dd59352e98a3be1b9756b565d93b5a.zip
Move power_thermal lib to generic
Change-Id: I3eb4cfe06c8ceec038ef9f568ba5df31f37407e0 Original-Change-Id: I2851b7fa990d7e8c5a2d726b650b4e2fc11f3fe7 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72525 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Dev-Ready: STEPHEN GLANCY <sglancy@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: Louis Stermole <stermole@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'src/import/generic/memory/lib/utils/shared')
-rw-r--r--src/import/generic/memory/lib/utils/shared/mss_generic_consts.H8
1 files changed, 8 insertions, 0 deletions
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 d67b7289..a6b382e5 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
@@ -104,6 +104,9 @@ enum conversions
NIBBLES_PER_BYTE = 2,
BITS_PER_NIBBLE = 4,
BITS_PER_BYTE = 8,
+
+ // Used by exp_decoder.C for dA to cA
+ DECI_TO_CENTI = 10,
};
enum generic_sizes
@@ -200,6 +203,11 @@ enum generic_ffdc_codes
SET_PRIM_BUS_WIDTH = 0x1069,
SET_PRIM_DIE_COUNT = 0x1070,
SET_DRAM_DENSITY = 0x1071,
+
+ // Power thermal functions
+ POWER_LIMIT = 0x1072,
+ SLOPE = 1073,
+ INTERCEPT = 1074,
};
///
OpenPOWER on IntegriCloud