summaryrefslogtreecommitdiffstats
path: root/src/include/usr/fapi2
diff options
context:
space:
mode:
authorcrgeddes <crgeddes@us.ibm.com>2016-03-17 11:21:38 -0500
committerStephen Cprek <smcprek@us.ibm.com>2016-03-17 17:07:14 -0500
commitde3efadea3db1139d6120058b4bc928f8365e23d (patch)
treed01072133d790c20f5cb699b198efc471790a3f2 /src/include/usr/fapi2
parent9f3f94a84015e09b931f30d8912ad8b96ef61d1e (diff)
downloadblackbird-hostboot-de3efadea3db1139d6120058b4bc928f8365e23d.tar.gz
blackbird-hostboot-de3efadea3db1139d6120058b4bc928f8365e23d.zip
Force isFusedMode function to return RC
In order to make the macro work the attr must return and RC in this case the RC will always be success Change-Id: I822e19063a6d4e1f5d1c9f2a8d987507fe2a74ea Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22193 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/fapi2')
-rw-r--r--src/include/usr/fapi2/attribute_service.H6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/usr/fapi2/attribute_service.H b/src/include/usr/fapi2/attribute_service.H
index b6939cbe1..5716d38a8 100644
--- a/src/include/usr/fapi2/attribute_service.H
+++ b/src/include/usr/fapi2/attribute_service.H
@@ -198,9 +198,11 @@ ReturnCode platGetTargetPos(const Target<TARGET_TYPE_ALL>& i_pFapiTarget,
///
///
/// @param[out] o_isFused 0 if not fused
-/// @return void
+/// @return ReturnCode Always FAPI2_RC_SUCCESS, this cannot fail
+/// if a toplevel target cannot be found then
+/// an assert triggers in the platform call
///
-void platGetFusedCoreMode(uint8_t & o_isFused);
+ReturnCode platGetFusedCoreMode(uint8_t & o_isFused);
// -----------------------------------------------------------------------------
// End TODO: End to be supported functions
OpenPOWER on IntegriCloud