From 82fbc51a7b8a2f53b6f4fb00ec09768a3ef6fcde Mon Sep 17 00:00:00 2001 From: Andre Marin Date: Fri, 2 Nov 2018 08:33:30 -0500 Subject: Add exp_draminit and fix data_structs constants Change-Id: I3b559d19cbfe407cf6a919174e201347f1bb1c1b Original-Change-Id: Ic8011ed9b6261ce2849b2c51f79c9533261222bf Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67837 Reviewed-by: STEPHEN GLANCY Tested-by: Jenkins Server Tested-by: HWSV CI Tested-by: Hostboot CI Reviewed-by: Louis Stermole Reviewed-by: Jennifer A. Stofer --- .../procedures/hwp/memory/lib/i2c/exp_i2c.H | 2 +- .../procedures/hwp/memory/lib/shared/exp_consts.H | 33 ++++++++++++++++++++++ .../procedures/xml/error_info/mss_exp_errors.xml | 22 ++++++++++++++- .../memory/lib/utils/shared/mss_generic_consts.H | 3 +- 4 files changed, 57 insertions(+), 3 deletions(-) diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/i2c/exp_i2c.H b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/i2c/exp_i2c.H index 986b5b75..cdab3c9c 100644 --- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/i2c/exp_i2c.H +++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/i2c/exp_i2c.H @@ -70,7 +70,7 @@ inline fapi2::ReturnCode status_code( const fapi2::Target - RC_MSS_EXP_STATUS_CODE_UNSUCCESSFUL + RC_MSS_EXP_I2C_FW_STATUS_CODE_FAILED Explorer status code for command ID EXP_FW_STATUS did not return SUCCESS @@ -98,4 +98,24 @@ + + RC_MSS_EXP_RSP_ARG_FAILED + + The response_argument field of the host_fw_response_struct returned a FAILURE + + RSP_ID + ERROR_CODE + + CODE + MEDIUM + + + TARGET + HIGH + + + TARGET + + + 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 d378179d..6082120c 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 @@ -47,7 +47,8 @@ namespace mss /// enum common_consts { - DEFAULT_POLL_LIMIT = 50, ///< the number of poll attempts in the event we can't calculate another + DEFAULT_POLL_LIMIT = 50, ///< the number of poll attempts in the event we can't calculate another + MEMCMP_EQUAL = 0, ///< Equal comparison value for memcmp }; /// -- cgit v1.2.3