summaryrefslogtreecommitdiffstats
path: root/src/import/chips/ocmb/explorer/procedures/hwp/memory
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2019-03-29 10:33:02 -0500
committerChristian R. Geddes <crgeddes@us.ibm.com>2019-04-08 09:17:43 -0500
commit08d472b97829e30de1cc5e1b997bcc6321df66ad (patch)
treea1d3f865ef209a0ec819b2dee76d802dcddb44ea /src/import/chips/ocmb/explorer/procedures/hwp/memory
parentcb5872dbdd7f6b52909930f821ff185f2c2ed6d6 (diff)
downloadtalos-hostboot-08d472b97829e30de1cc5e1b997bcc6321df66ad.tar.gz
talos-hostboot-08d472b97829e30de1cc5e1b997bcc6321df66ad.zip
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 <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75356 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/chips/ocmb/explorer/procedures/hwp/memory')
-rw-r--r--src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/exp_draminit_utils.C2
-rw-r--r--src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H45
2 files changed, 35 insertions, 12 deletions
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,
};
///
OpenPOWER on IntegriCloud