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: 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>
  • Loading branch information
markypizz authored and Raja Das committed Jul 26, 2019
1 parent aa5c5ff commit c257cb5
Showing 1 changed file with 13 additions and 0 deletions.
Expand Up @@ -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
{

Expand Down

0 comments on commit c257cb5

Please sign in to comment.