diff options
author | Roland Veloz <rveloz@us.ibm.com> | 2017-07-10 17:29:36 -0500 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2017-07-31 13:00:11 -0400 |
commit | c2078fece2770dcb181a8d8b6da600fba8fbe744 (patch) | |
tree | 914ddfe3c8bfa57f427c2e28f2c92f1364f9c441 /src/usr/hwas/common/hwas.C | |
parent | ad20498a1a7b857517759cbb173fe9d936107d63 (diff) | |
download | talos-hostboot-c2078fece2770dcb181a8d8b6da600fba8fbe744.tar.gz talos-hostboot-c2078fece2770dcb181a8d8b6da600fba8fbe744.zip |
Updated the hdat code to incorporate the new BMC type
Change-Id: Ib475bc1b2c43eaa4529c0c4b5f2af6d1a72091b4
RTC:166755
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41979
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-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>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: NAGENDRA K. GURRAM <nagendra.g@in.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/hwas/common/hwas.C')
-rw-r--r-- | src/usr/hwas/common/hwas.C | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/hwas/common/hwas.C b/src/usr/hwas/common/hwas.C index 9908ef8bf..f9ce03e3f 100644 --- a/src/usr/hwas/common/hwas.C +++ b/src/usr/hwas/common/hwas.C @@ -205,7 +205,8 @@ errlHndl_t discoverTargets() { // TODO:RTC:151617 Need to find a better way // to initialize the target - if(target->getAttr<ATTR_TYPE>() == TYPE_SP) + if((target->getAttr<ATTR_TYPE>() == TYPE_SP) || + (target->getAttr<ATTR_TYPE>() == TYPE_BMC)) { HwasState hwasState = target->getAttr<ATTR_HWAS_STATE>(); hwasState.deconfiguredByEid = 0; |