Skip to content

Commit

Permalink
Added code for exp_getecid and unit tests
Browse files Browse the repository at this point in the history
Change-Id: I92e122dd61c06476ed6d029874ab3ae4b8a064e3
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>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/80993
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
Tested-by: RAJA DAS <rajadas2@in.ibm.com>
  • Loading branch information
markypizz authored and RAJA DAS committed Jul 25, 2019
1 parent 0209c87 commit c130fb5
Showing 1 changed file with 13 additions and 0 deletions.
Expand Up @@ -63,6 +63,19 @@ enum ffdc_codes
READ_SENSOR_CACHE_STRUCT = 0x0004,
};

///
/// @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
{

Expand Down

0 comments on commit c130fb5

Please sign in to comment.