summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorMike Baiocchi <mbaiocch@us.ibm.com>2019-03-16 23:35:10 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-03-18 12:51:06 -0500
commit656ba908c6f2e83c8e7323d6774709e44361443d (patch)
tree62b7cee71a3d9ee685c394abed17d9fd8301d78e /src/usr
parent4eb72a8bf0741c537261baef74358cba49c383ef (diff)
downloadtalos-hostboot-656ba908c6f2e83c8e7323d6774709e44361443d.tar.gz
talos-hostboot-656ba908c6f2e83c8e7323d6774709e44361443d.zip
Add UCD devices to ATTR_I2C_BUS_SPEED_ARRAY for ZZ
This commit adds specific support for the UCD9090 and UCD90120A devices to be added to the ATTR_I2C_BUS_SPEED_ARRAY that Hostboot uses to know which I2C buses have devices on them and what speed thoses buses should be run at. Change-Id: I74c73dc4ed6528eb8937795c105da79101a9f1e3 RTC:205979 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73505 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: Ilya Smirnov <ismirno@us.ibm.com> Reviewed-by: Matthew Raybuck <matthew.raybuck@ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr')
-rwxr-xr-xsrc/usr/targeting/common/genHwsvMrwXml.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/usr/targeting/common/genHwsvMrwXml.pl b/src/usr/targeting/common/genHwsvMrwXml.pl
index 7a670515f..72e5e9b05 100755
--- a/src/usr/targeting/common/genHwsvMrwXml.pl
+++ b/src/usr/targeting/common/genHwsvMrwXml.pl
@@ -7152,7 +7152,12 @@ sub addI2cBusSpeedArray
( ($I2Cdevices[$i]{i2c_part_id}
eq "MAX5961") ||
($I2Cdevices[$i]{i2c_part_id}
- eq "PCA9551") )
+ eq "PCA9551") ||
+ ($I2Cdevices[$i]{i2c_part_id}
+ eq "UCD90120A") ||
+ ($I2Cdevices[$i]{i2c_part_id}
+ eq "UCD9090")
+ )
)
) ||
($I2Cdevices[$i]{i2cm_node} != $node) ||
OpenPOWER on IntegriCloud