From 642a5f63c61bb590b654d2abd15820dc4d1b014d Mon Sep 17 00:00:00 2001 From: Nick Bofferding Date: Thu, 7 Mar 2019 07:29:46 -0600 Subject: 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 Reviewed-by: Michael Baiocchi Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell --- src/include/usr/targeting/common/utilFilter.H | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src/include') 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 -- cgit v1.2.3