summaryrefslogtreecommitdiffstats
path: root/src/import/chips/ocmb
diff options
context:
space:
mode:
authorMark Pizzutillo <Mark.Pizzutillo@ibm.com>2019-02-21 11:08:00 -0500
committerRaja Das <rajadas2@in.ibm.com>2019-07-26 00:55:11 -0500
commitc257cb572c9a897888cb9719f469e6b42a929b70 (patch)
tree27799b050f4a04928fd242b74dc1015468f261bd /src/import/chips/ocmb
parentaa5c5ff1a84bf42941f613e7170436c72a07e186 (diff)
downloadtalos-sbe-c257cb572c9a897888cb9719f469e6b42a929b70.tar.gz
talos-sbe-c257cb572c9a897888cb9719f469e6b42a929b70.zip
Added code for exp_getecid and unit tests
Change-Id: I2630072db848df11f24799b6a39c33f51f06cded Original-Change-Id: Id0a8fcf7c28d67c1bcb4ba98ff7af6d94dfa6364 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/74784 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'src/import/chips/ocmb')
-rw-r--r--src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H13
1 files changed, 13 insertions, 0 deletions
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 654cea09..8a298132 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
@@ -104,6 +104,19 @@ enum ffdc_codes
SET_SPD_CL_SUPPORTED = 0x1051,
};
+///
+/// @brief constants for getecid procedure
+///
+enum ecid_consts
+{
+ FUSE_ARRAY_SIZE = 14,
+ DATA_IN_SIZE = 16,
+ // TK - Will need to be changed once ATTR_ECID is made larger
+ ATTR_ECID_SIZE = 2,
+ // 32 bit registers with getScom/putScom use the right-most 32 bits
+ REG_BIT_OFFSET = 32,
+};
+
namespace i2c
{
OpenPOWER on IntegriCloud