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/include/usr/targeting/common/utilFilter.H | |
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/include/usr/targeting/common/utilFilter.H')
-rw-r--r-- | src/include/usr/targeting/common/utilFilter.H | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/include/usr/targeting/common/utilFilter.H b/src/include/usr/targeting/common/utilFilter.H index b54c5f8ac..2f7360b44 100644 --- a/src/include/usr/targeting/common/utilFilter.H +++ b/src/include/usr/targeting/common/utilFilter.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2018 */ +/* Contributors Listed Below - COPYRIGHT 2012,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -135,6 +135,19 @@ void getChipletResources(TARGETING::TargetHandleList & o_vector, void getAllChips(TARGETING::TargetHandleList & o_vector, TYPE i_type, bool i_functional = true ); +/** + * @brief Populate the output target handle list with ASIC target handles based + * on the requested type and functional state. + * + * @parm[out] o_asics Reference to a vector holding target pointers + * @parm[in] i_asicType The type of the ASIC targets to be obtained + * @parm[in] i_functional Set to true to return only functional targets + * + * @return N/A + */ +void getAllAsics(TARGETING::TargetHandleList& o_asics, + TYPE i_asicType, + bool i_functional = true); /** * @brief Populate the o_vector with target chiplet pointers based on the |