diff options
author | Nick Bofferding <bofferdn@us.ibm.com> | 2019-03-07 07:29:46 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2019-03-15 10:39:43 -0500 |
commit | 642a5f63c61bb590b654d2abd15820dc4d1b014d (patch) | |
tree | 4b9bf8d1ffb3ec4807b26039210b9fa28ef1264f /src/usr/targeting/common/utilFilter.C | |
parent | c4031acbfb0525325bc61cbb353e91acd5f3cc60 (diff) | |
download | talos-hostboot-642a5f63c61bb590b654d2abd15820dc4d1b014d.tar.gz talos-hostboot-642a5f63c61bb590b654d2abd15820dc4d1b014d.zip |
Support UCD discovery
- Added new attribute to indicate if target should be assumed present
- Added that attribute to SP/BMC/UCD targets
- Check for assumed present UCDs in discover targets
- Iterate through every UCD for data flash update
RTC: 201991
Change-Id: Ia535a58ea0355582621a23d3c1b50b2417ad362f
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/73047
Reviewed-by: Matthew Raybuck <matthew.raybuck@ibm.com>
Reviewed-by: Michael Baiocchi <mbaiocch@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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common/utilFilter.C')
-rw-r--r-- | src/usr/targeting/common/utilFilter.C | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/usr/targeting/common/utilFilter.C b/src/usr/targeting/common/utilFilter.C index 7f2c02074..a58762ff0 100644 --- a/src/usr/targeting/common/utilFilter.C +++ b/src/usr/targeting/common/utilFilter.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2018 */ +/* Contributors Listed Below - COPYRIGHT 2012,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -220,6 +220,21 @@ void getAllChips( TARGETING::TargetHandleList & o_vector, } } +void getAllAsics( + TARGETING::TargetHandleList& o_asics, + const TYPE i_asicType, + const bool i_functional) +{ + if (i_functional) + { + _getClassResources(o_asics, CLASS_ASIC, i_asicType, + UTIL_FILTER_FUNCTIONAL); + } + else + { + _getClassResources(o_asics, CLASS_ASIC, i_asicType, UTIL_FILTER_ALL); + } +} void getAllLogicalCards( TARGETING::TargetHandleList & o_vector, TYPE i_cardType, |