summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorChristian Geddes <crgeddes@us.ibm.com>2017-09-18 15:12:19 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-10-15 16:28:43 -0400
commite4610ec20b64512f20dee49449413e987670f3cd (patch)
treeb7f6cba5fa24a2ec5cfa710ee6546f663d1312c9 /src/include/usr
parenta5d19110fd5dad891f8fe20c260fb7fb23051822 (diff)
downloadtalos-hostboot-e4610ec20b64512f20dee49449413e987670f3cd.tar.gz
talos-hostboot-e4610ec20b64512f20dee49449413e987670f3cd.zip
Add Hostboot infrastructure for secureHwp chipop request
Create structs and methods required for issuing a secureHwp chipop request to the SBE. Change-Id: Id493fc59346ee2c7155bd09a88ac0cba22a29c42 RTC: 179062 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46365 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> Reviewed-by: Brian E. Bakke <bbakke@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@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')
-rw-r--r--src/include/usr/sbeio/sbeioif.H23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/include/usr/sbeio/sbeioif.H b/src/include/usr/sbeio/sbeioif.H
index 2a3633efb..565aa165b 100644
--- a/src/include/usr/sbeio/sbeioif.H
+++ b/src/include/usr/sbeio/sbeioif.H
@@ -262,6 +262,29 @@ namespace SBEIO
*/
errlHndl_t handleVitalAttn( TARGETING::Target* i_procTarg );
+ /**
+ * @brief Request the SBE to do a specific chip op
+ *
+ * @param[in] i_target The target of which the HWP is intended to be called on,
+ * this must be the first param of the request HWP
+ *
+ * @param[in] i_dataPointer Pointer to a blob of data that contains additional parameters
+ * for the requests HWP
+ *
+ * @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
+ *
+ * @return errlHndl_t Error log handle on failure.
+ *
+ */
+ errlHndl_t sendSecureHwpRequest(TARGETING::Target * i_target,
+ uint8_t * i_dataPointer,
+ uint64_t i_dataSize,
+ uint64_t i_hwpStringLen);
+
+
} //end namespace SBEIO
#endif /* _SBEIOIF_H */
OpenPOWER on IntegriCloud