From 08d472b97829e30de1cc5e1b997bcc6321df66ad Mon Sep 17 00:00:00 2001 From: Dan Crowell Date: Fri, 29 Mar 2019 10:33:02 -0500 Subject: Update Explorer FW Command IDs Updating the code to be in sync the latest version of the Microsemi Firmware spec (March 2019). Change-Id: I9189be2abf2551f7e7d286eaf87f2c32558db333 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75231 Tested-by: FSP CI Jenkins Tested-by: Jenkins Server Tested-by: Hostboot CI Reviewed-by: Louis Stermole Reviewed-by: ANDRE A. MARIN Reviewed-by: Jennifer A. Stofer Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75356 Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Christian R. Geddes --- .../procedures/hwp/memory/lib/exp_draminit_utils.C | 2 +- .../procedures/hwp/memory/lib/shared/exp_consts.H | 45 ++++++++++++++++------ 2 files changed, 35 insertions(+), 12 deletions(-) (limited to 'src/import/chips/ocmb') diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/exp_draminit_utils.C b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/exp_draminit_utils.C index 94d67589d..30683e5bb 100644 --- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/exp_draminit_utils.C +++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/exp_draminit_utils.C @@ -48,7 +48,7 @@ namespace exp void setup_cmd_params(const uint32_t i_cmd_data_crc, host_fw_command_struct& o_cmd) { // Issue full boot mode cmd though EXP-FW REQ buffer - o_cmd.cmd_id = mss::exp::omi::FW_SPD_DATA_SET; + o_cmd.cmd_id = mss::exp::omi::EXP_FW_DDR_PHY_INIT; o_cmd.cmd_flags = 0; // TK - Fabricated value need to figure out if we'll be creating req_id tables 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 5bc631f0c..0855fc102 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 @@ -226,17 +226,40 @@ namespace omi /// 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, + // initialize the DDR PHY controller when Step-by-Step BOOT mode + // is selected + EXP_FW_PHY_STEP_BY_STEP_INIT = 0x01, + + // sent by the Host along with PHY initialization data copied + // into data buffer for FW to use for configuring DDR PHY interface. + EXP_FW_DDR_PHY_INIT = 0x02, + + // read temperature sensor + EXP_FW_FW_TEMP_SENSOR_PASS_THROUGH_READ = 0x03, + + // configure temperature sensor + EXP_FW_FW_TEMP_SENSOR_PASS_THROUGH_WRITE = 0x04, + + // configure interval read mechanism + EXP_FW_TEMP_SENSOR_CONFIG_INTERVAL_READ = 0x05, + + // transition the FW into runtime mode when Step-by-Step BOOT mode + // is selected + EXP_FW_GO_COMMAND = 0x06, + + // determine various configurations related to controller + EXP_FW_ADAPTER_PROPERTIES_GET = 0x07, + + // sent by Host along with latest FW executable code, which is + // copied into data buffer location so that existing FW can + // upgrade the FW image + EXP_FW_BINARY_UPGRADE = 0x08, + + // find the flash loader version information + EXP_FW_FLASH_LOADER_VERSION_INFO = 0x09, + + // read the error logs from various modules of Explorer block + EXP_FW_ERROR_LOG_GET = 0x0A, }; /// -- cgit v1.2.1