From c257cb572c9a897888cb9719f469e6b42a929b70 Mon Sep 17 00:00:00 2001 From: Mark Pizzutillo Date: Thu, 21 Feb 2019 11:08:00 -0500 Subject: 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 Tested-by: Jenkins Server Tested-by: HWSV CI Reviewed-by: STEPHEN GLANCY Tested-by: Hostboot CI Reviewed-by: Louis Stermole Reviewed-by: Jennifer A. Stofer --- .../explorer/procedures/hwp/memory/lib/shared/exp_consts.H | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/import/chips/ocmb') 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 { -- cgit v1.2.1