summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common/xmltohb/simics_AXONE.system.xml
diff options
context:
space:
mode:
authorChristian Geddes <crgeddes@us.ibm.com>2018-12-18 15:59:07 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-01-11 09:40:39 -0600
commitcaa8eda59c2c9adfdf42285cec38eae64f560916 (patch)
treee9f349c9995fabe3ef25d89a6b6e234550c898ac /src/usr/targeting/common/xmltohb/simics_AXONE.system.xml
parentb95e95e56ed7bbaa981b0bf4a861a1b305711c4e (diff)
downloadtalos-hostboot-caa8eda59c2c9adfdf42285cec38eae64f560916.tar.gz
talos-hostboot-caa8eda59c2c9adfdf42285cec38eae64f560916.zip
Add presence detection for i2c mux targets
This commit removes the ddimm.C file that had the deviceFramework routing for OCMB presence detection and replaces it with a new file in src/usr/i2c/i2cTargetPres.C that is more generic for any target that has the FAPI_I2C_CONTROLLER_INFO attribute. The i2c_mux target also now uses this same code for its presence detection. As a result of this change the src/usr/i2c/mux_i2c.* files have also been removed. When getting rid of the ddimm.C file I had to put the IDEC device routing somewhere else so I moved it to the hwasPlat code where the other IDEC device routes are registered. RTC: 196805 Change-Id: I27e5e3e8d0fe107c3d44a450e20efa6f50fa0c5f Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69944 Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common/xmltohb/simics_AXONE.system.xml')
-rw-r--r--src/usr/targeting/common/xmltohb/simics_AXONE.system.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/usr/targeting/common/xmltohb/simics_AXONE.system.xml b/src/usr/targeting/common/xmltohb/simics_AXONE.system.xml
index d6920ad53..662e283ea 100644
--- a/src/usr/targeting/common/xmltohb/simics_AXONE.system.xml
+++ b/src/usr/targeting/common/xmltohb/simics_AXONE.system.xml
@@ -13306,6 +13306,15 @@
<field><id>engine</id><value>3</value></field>
</default>
</attribute>
+ <attribute>
+ <id>FAPI_I2C_CONTROL_INFO</id>
+ <default>
+ <field><id>i2cMasterPath</id><value>physical:sys-0/node-0/proc-0</value></field>
+ <field><id>port</id><value>0</value></field>
+ <field><id>devAddr</id><value>0xE0</value></field>
+ <field><id>engine</id><value>3</value></field>
+ </default>
+ </attribute>
</targetInstance>
</attributes>
OpenPOWER on IntegriCloud