Skip to content

Commit

Permalink
Add exp_draminit and fix data_structs constants
Browse files Browse the repository at this point in the history
Change-Id: I01569a9c21c2a32a3eab12b236d8ca2ab8d02756
Original-Change-Id: Ic8011ed9b6261ce2849b2c51f79c9533261222bf
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67837
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: HWSV CI <hwsv-ci+hostboot@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/80970
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
Tested-by: RAJA DAS <rajadas2@in.ibm.com>
  • Loading branch information
aamarin authored and RAJA DAS committed Jul 25, 2019
1 parent 5df3896 commit e66830b
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 2 deletions.
Expand Up @@ -167,6 +167,39 @@ enum addrSide


}// i2c

namespace omi
{

///
/// @brief HOST-FW Commands and Responses
///
enum cmd_and_response_id
{
FW_DDR_INTERFACE_INIT = 0x01,
FW_TEMP_SENSOR_INIT = 0x02,
FW_ERR_LOGGING_INTERFACE_INIT = 0x03,
FW_GO_COMMAND = 0x04,
FW_ADAPTER_PROPERTIES_GET = 0x05,
FW_STATUS_GET = 0x06,
FW_TEMPERATURE_GET = 0x07,
FW_ERROR_LOG_GET = 0x08,
FW_SPD_DATA_SET = 0x09,
FW_BINARY_UPGRADE = 0x0A,
FW_FLASH_LOADER_VERSION_INFO = 0x0B,
};

///
/// @brief Response argument parameters
///
enum response_arg
{
SUCCESS = 0,
ERROR_CODE = 1,
};

}// omi

}// exp
}// mss

Expand Down
Expand Up @@ -40,7 +40,7 @@
</hwpError>

<hwpError>
<rc>RC_MSS_EXP_STATUS_CODE_UNSUCCESSFUL</rc>
<rc>RC_MSS_EXP_I2C_FW_STATUS_CODE_FAILED</rc>
<description>
Explorer status code for command ID EXP_FW_STATUS
did not return SUCCESS
Expand Down Expand Up @@ -98,4 +98,24 @@
</deconfigure>
</hwpError>

<hwpError>
<rc>RC_MSS_EXP_RSP_ARG_FAILED</rc>
<description>
The response_argument field of the host_fw_response_struct returned a FAILURE
</description>
<ffdc>RSP_ID</ffdc>
<ffdc>ERROR_CODE</ffdc>
<callout>
<procedure>CODE</procedure>
<priority>MEDIUM</priority>
</callout>
<callout>
<target>TARGET</target>
<priority>HIGH</priority>
</callout>
<deconfigure>
<target>TARGET</target>
</deconfigure>
</hwpError>

</hwpErrors>
Expand Up @@ -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
};

///
Expand Down

0 comments on commit e66830b

Please sign in to comment.