summaryrefslogtreecommitdiffstats
path: root/src/include/usr/sbeio
diff options
context:
space:
mode:
authorChristian Geddes <crgeddes@us.ibm.com>2017-09-21 14:09:56 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-10-17 11:46:45 -0400
commitebea5e69f6c3a86de8103126dc69a3d8942227e9 (patch)
treeeaee57dd1aeaebb80489b2fdec42c46e300e10a7 /src/include/usr/sbeio
parent17dda04f37485b693eca1ebc29bdc9026bcfda04 (diff)
downloadblackbird-hostboot-ebea5e69f6c3a86de8103126dc69a3d8942227e9.tar.gz
blackbird-hostboot-ebea5e69f6c3a86de8103126dc69a3d8942227e9.zip
Implement FAPI_PLAT_CALL_SUBROUTINE macro
HWP writers need a way to request certain HWPs to run on the SBE for non-master processor targets while we are in secureBoot mode. This macro will check these conditions and if we are on a non-master in secureMode then we will issue a fifo chipop to the slave sbe in order to request the SBE to perform the HWP. This commit also adds some simple test cases to verify the failure paths. Also fapi2 test cases are re-enabled in this commit. Change-Id: Ic42fe2df5692fb5994985d92b2fd767ea7c1234a RTC: 179062 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46580 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> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/sbeio')
-rw-r--r--src/include/usr/sbeio/sbeioif.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/usr/sbeio/sbeioif.H b/src/include/usr/sbeio/sbeioif.H
index 565aa165b..357a29a95 100644
--- a/src/include/usr/sbeio/sbeioif.H
+++ b/src/include/usr/sbeio/sbeioif.H
@@ -274,7 +274,7 @@ namespace SBEIO
* @param[in] i_dataSize Size of blob of data that contains additional parameters
* for the requests HWP
*
- * @param[in] i_hwpStringLen size of the hwp name string at beginning of data pointer
+ * @param[in] i_hwpName Pointer to string of chars representing hwp name
*
* @return errlHndl_t Error log handle on failure.
*
@@ -282,7 +282,7 @@ namespace SBEIO
errlHndl_t sendSecureHwpRequest(TARGETING::Target * i_target,
uint8_t * i_dataPointer,
uint64_t i_dataSize,
- uint64_t i_hwpStringLen);
+ const char * i_hwpName);
} //end namespace SBEIO
OpenPOWER on IntegriCloud