diff options
author | Christian Geddes <crgeddes@us.ibm.com> | 2018-12-17 14:01:45 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2019-01-08 15:51:26 -0600 |
commit | 756a8239c0619b26c5f4951d26adac634994bbef (patch) | |
tree | b6590487fd9a4f6a04931852be2195574fda231c /src/include/usr | |
parent | c8c73af1c713d19e7a2f5e776b5691da8d17b7cd (diff) | |
download | talos-hostboot-756a8239c0619b26c5f4951d26adac634994bbef.tar.gz talos-hostboot-756a8239c0619b26c5f4951d26adac634994bbef.zip |
Real OCMB presence detection support for Axone simics
Previously a hacked up copy of OCMB presence detection that always
returned that the OCMB was present. This commit will actually look up
the VPD to determine if the OCMB is present or not.
Change-Id: Id8c51587b9e5c63dfd68d2463f24aa419426d9ab
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69905
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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr')
-rw-r--r-- | src/include/usr/i2c/i2cif.H | 3 | ||||
-rw-r--r-- | src/include/usr/vpd/vpdreasoncodes.H | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/include/usr/i2c/i2cif.H b/src/include/usr/i2c/i2cif.H index a902fbcbf..c33c83e32 100644 --- a/src/include/usr/i2c/i2cif.H +++ b/src/include/usr/i2c/i2cif.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2018 */ +/* Contributors Listed Below - COPYRIGHT 2012,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -24,6 +24,7 @@ /* IBM_PROLOG_END_TAG */ #ifndef __I2CIF_H #define __I2CIF_H +#include <list> namespace I2C { diff --git a/src/include/usr/vpd/vpdreasoncodes.H b/src/include/usr/vpd/vpdreasoncodes.H index 92aea3196..f0897e708 100644 --- a/src/include/usr/vpd/vpdreasoncodes.H +++ b/src/include/usr/vpd/vpdreasoncodes.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2018 */ +/* Contributors Listed Below - COPYRIGHT 2013,2019 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -155,6 +155,8 @@ enum vpdReasonCode VPD_CANNOT_WRITE_OVERRIDDEN_VPD = VPD_COMP_ID | 0x3c, VPD_FAILED_TO_RESOLVE_NODE_TARGET = VPD_COMP_ID | 0x3d, VPD_BAD_REC_NUM = VPD_COMP_ID | 0x3e, + VPD_INVALID_MASTER_I2C_PATH = VPD_COMP_ID | 0x3f, + VPD_NULL_I2C_MASTER = VPD_COMP_ID | 0x40, }; |