summaryrefslogtreecommitdiffstats
path: root/src/usr/hdat
diff options
context:
space:
mode:
authorSampa Misra <sampmisr@in.ibm.com>2018-04-15 07:46:22 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-04-18 12:49:50 -0400
commit3a445dabb535d8b29e53e0bf2aab9dcf28608327 (patch)
tree5fe306444302096cb57ddb19915d8ed1c10bc1de /src/usr/hdat
parentc894380c8e13c749bcd5e58591a4b37047f43953 (diff)
downloadtalos-hostboot-3a445dabb535d8b29e53e0bf2aab9dcf28608327.tar.gz
talos-hostboot-3a445dabb535d8b29e53e0bf2aab9dcf28608327.zip
Remove seeprom entry from host i2c data structures reported by HDAT
Change-Id: I7bac6a88e388c67c280ef6edfdfed1589737baf2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57229 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: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/hdat')
-rw-r--r--src/usr/hdat/hdatutil.C6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/usr/hdat/hdatutil.C b/src/usr/hdat/hdatutil.C
index 5eff1f263..b45b3dd9c 100644
--- a/src/usr/hdat/hdatutil.C
+++ b/src/usr/hdat/hdatutil.C
@@ -1785,6 +1785,12 @@ void hdatGetI2cDeviceInfo(
for (const auto& i2cDevice : deviceInfo)
{
+ if (i2cDevice.devicePurpose ==
+ TARGETING::HDAT_I2C_DEVICE_PURPOSE_SBE_SEEPROM)
+ {
+ continue;
+ }
+
if( (i2cDevice.assocNode != linkId.node)
|| (i2cDevice.assocProc != linkId.proc))
{
OpenPOWER on IntegriCloud