diff options
author | Chris Cain <cjcain@us.ibm.com> | 2016-08-11 06:07:56 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-09-05 17:36:29 -0400 |
commit | ade4f43e1fd666dc138734bdf2bd942698e4d786 (patch) | |
tree | 8d3a4c1c350dacd3fd00b1a249eec7c15467b411 | |
parent | cd16909c0ad37d7b00d3668a04e77a00e6865f7c (diff) | |
download | talos-hostboot-ade4f43e1fd666dc138734bdf2bd942698e4d786.tar.gz talos-hostboot-ade4f43e1fd666dc138734bdf2bd942698e4d786.zip |
Add attributes to address DIMMs via I2C
Change-Id: If45a9df373616589d1519e17976f8538169bb411
RTC: 130222
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28144
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
-rw-r--r-- | src/usr/targeting/common/xmltohb/attribute_types.xml | 39 | ||||
-rwxr-xr-x | src/usr/targeting/common/xmltohb/target_types.xml | 1 |
2 files changed, 40 insertions, 0 deletions
diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml index d7fff3466..bc82bc476 100644 --- a/src/usr/targeting/common/xmltohb/attribute_types.xml +++ b/src/usr/targeting/common/xmltohb/attribute_types.xml @@ -1839,6 +1839,45 @@ </attribute> <attribute> + <id>TEMP_SENSOR_I2C_CONFIG</id> + <description>Information needed to address an I2C slave device</description> + <complexType> + <description>Structure to define the addressing for an I2C + slave device.</description> + <field> + <name>i2cMasterPath</name> + <description>Entity path to the chip that contains the I2C + master</description> + <type>EntityPath</type> + <default>physical:sys-0</default> + </field> + <field> + <name>engine</name> + <description>I2C master engine. This is a 2-bit + value.</description> + <type>uint8_t</type> + <default>0x80</default> + </field> + <field> + <name>port</name> + <description>Port from the I2C Master device. This is a 6-bit + value.</description> + <type>uint8_t</type> + <default>0x80</default> + </field> + <field> + <name>devAddr</name> + <description>Device address on the I2C bus. This is a 7-bit value, + but then shifted 1 bit left.</description> + <type>uint8_t</type> + <default>0x80</default> + </field> + </complexType> + <persistency>non-volatile</persistency> + <readable/> +</attribute> + +<attribute> <id>TPM_INFO</id> <description>Information needed to address the TPM slaves</description> <complexType> diff --git a/src/usr/targeting/common/xmltohb/target_types.xml b/src/usr/targeting/common/xmltohb/target_types.xml index f1037e5a1..1d52dd6eb 100755 --- a/src/usr/targeting/common/xmltohb/target_types.xml +++ b/src/usr/targeting/common/xmltohb/target_types.xml @@ -488,6 +488,7 @@ </attribute> <attribute><id>EEPROM_VPD_PRIMARY_INFO</id></attribute> + <attribute><id>TEMP_SENSOR_I2C_CONFIG</id></attribute> <attribute><id>VPD_REC_NUM</id></attribute> <attribute><id>MSS_EFF_VPD_VERSION</id></attribute> |