Skip to content

Commit

Permalink
Add exp_thermal_init for Explorer FW
Browse files Browse the repository at this point in the history
Change-Id: I4bf6b9afaa8ab75574a58e20ab7806f8f05e02c9
Original-Change-Id: I6db5c5c1c435a5c63406c2c2fae28aadcc6f9e79
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75144
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>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
  • Loading branch information
shamanj4 authored and Raja Das committed Jul 26, 2019
1 parent 68e0271 commit b44d791
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
Expand Up @@ -132,6 +132,7 @@ enum generic_consts
namespace i2c
{

///
/// @brief List of explorer I2C commands
///
enum cmd_id : uint8_t
Expand Down Expand Up @@ -260,10 +261,10 @@ enum cmd_and_response_id
EXP_FW_DDR_PHY_INIT = 0x02,

// read temperature sensor
EXP_FW_FW_TEMP_SENSOR_PASS_THROUGH_READ = 0x03,
EXP_FW_TEMP_SENSOR_PASS_THROUGH_READ = 0x03,

// configure temperature sensor
EXP_FW_FW_TEMP_SENSOR_PASS_THROUGH_WRITE = 0x04,
EXP_FW_TEMP_SENSOR_PASS_THROUGH_WRITE = 0x04,

// configure interval read mechanism
EXP_FW_TEMP_SENSOR_CONFIG_INTERVAL_READ = 0x05,
Expand All @@ -289,6 +290,7 @@ enum cmd_and_response_id

///
/// @brief Command flag definitions
///
enum cmd_flags
{
NO_FLAGS = 0,
Expand All @@ -305,7 +307,6 @@ enum response_arg
};

}// omi

}// exp
}// mss

Expand Down
Expand Up @@ -175,4 +175,25 @@
</deconfigure>
</hwpError>

<hwpError>
<rc>RC_MSS_EXP_SENSOR_CACHE_ENABLE_FAILED</rc>
<description>
The response_argument field of the host_fw_response_struct returned
a FAILURE for enabling sensor cache
</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>

0 comments on commit b44d791

Please sign in to comment.